Hacker Newsnew | past | comments | ask | show | jobs | submit | css_apologist's commentslogin

these things you are talking about are only true due to the unbelievably LARGE marketing ~propaganda~ spending

what you're saying reflects corporation tendencies

take away the propaganda, let people live, see how they react


I'm not convinced. Propaganda only works when it relies on something that people are dispositionally inclined towards. eg: hating foreigners, calls towards group unity, etc.

You can't use propaganda to trick people into becoming experts at calculus, for instance.


> You can't use propaganda to trick people into becoming experts at calculus, for instance.

Perhaps not an individual instantly. But how about settling for making a generation of parents fear that there will be no future for their kids unless they get fantastic grades, and that they have to use them to go into stem?


How would you distinguish corporation influencing consumers from corporations following consumers? One thing would be to see if there are items that are heavily advertised by corporations but that they do not succeed. You can also take items that everyone knows about, no one wants, and then launch a propaganda campaign and see what happens. Different propaganda works in different ways so one would need to try varieties. I imagine a randomly controlled trial of having various ubiquitous goods that are not heavily advertised nor heavily purchased and then randomly assigning different advertising strategies (including none). Do that in various regions, countries, ethnicities, etc, and then see what can be seen.

My guess is that advertising raises desire by a few percent in most cases. There would be some instances of a run away craze, probably with a massive rise followed by a collapse, but that most products would largely be unaffected. I assume some advertising strategies would backfire and reduce demand.

For me, I feel like most of the time it is been exposed to the existence of an item and my ability to see how it could be useful. I don't think random advertisements I come across impact me that much since most of the advertisements I see don't seem to correspond to anything I want or do or spend money on.

Humans use their imagination to figure out what choice of action leads to a future of less uncomfortability. Often times, these are choices between short term future and long term future. Advertising is a way of helping shape that argument as to what choice is to be taken, but the underlying drive is already there.

You could also look for cases where propaganda is used against consumerism and see how impactful that tends to be.


> The same logic applies to other platforms - like subway platforms or television or even restaurant menus.

this is really bad comparison

a subway platform ad doesn't dictate the way consumers use the subway.

a restaurant does not monitor the effectiveness of the ads in their menus, analyse their industry and rip off their product with an in-house brand (amazon basics)

amazon is not a marketplace, it is a surveillance platform built to allow amazon to take ownership of more and more markets

to say this is just a problem with ads is defeatist instead getting real tangible change


honestly if you go vanilla just go vanilla, don't imitate the vdom but worse

use query selectors and manually do fine grained updates

i don't think it works for everything, but a few years back i started doing it for side projects and never really missed any of the frameworks


its a trade off for sure

but my experience working with elm is that things just work almost always the first time

if they can bring that over, many will take that trade off

yes somethings are harder to express, but its subjective if its a bad thing given the correctness guarantees

i haven't firmly run into the perf ceiling myself, but yes it is obviously there for more interactive apps


My perf ceiling in Elm has been in two places:

- Elm CSS and even then, it was on a page with I think hundreds of accordions. We had to use Css.Global to create class based states, then toggle classes.

- Loading a massive library of data and leaving it in the state to make navigation within that library's pages faster. It was a classic tradeoff of upfront vs incremental load time, and we'd just over indexed in one direction.


o7


Is there a gain of clojure transducers to js style iterators? - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

both solve the copying problem, and not relying on concrete types


I think the misunderstanding is about iterators "not relying on concrete types". Rather, iterators are the concrete type. Consider the example transformation from the transducers page:

  (def xf
    (comp
      (filter odd?)
      (map inc)
      (take 5)))
You'll see there's no notion of a concrete type that the transformation operates on. It can work with vectors, seqs, core.async channels, etc. Now consider how that could be written in JavaScript such that it works on arrays, sets, generators, iterators, etc. without having to first convert to another type (such as an iterator). That is what's meant about transducers not being tied to a concrete type.


i see

so it's more than all tranducable types implement a common interface?

or the tranduceable operators depend on a small subset of generic functions?


They compose. And can be passed around and be completely oblivious to how they will be reduced. With conj or sum or whatever they want. And you can extend them at any point at any end.

They are like map, filter and friends, but they compose. I think of iterators as an iterator protocol and transducers as a streaming protocol. An iterator just describes how to iterate over a collection. Transducers are transformations that can be plugged into any point where data goes in one direction.


js iterators work over lazy streams


As I said, it is a protocol for iteration or data access. You cant take an iterator and hand it as a filter to a file reader. If I make a rot13 transducer I can hand it to a transduce function that transforms a collection. I can give it to a file reader as a transformer on any char.

Transducers are way to express transformations.


very cool! does this work? can you describe the kinds of real bugs you've caught with this?


I'd say it does! Bombadil is very new but its predecessor has found complicated and very real bugs in my work projects, and in the paper we wrote about it, we found bugs in more than half of the TodoMVC example apps: https://arxiv.org/abs/2203.11532


I got a few ideas which will probably never get done at this point

1 - actual css static analysis -- consume html + css, and provide tooling to preview what properties are inherited given the context you're in -- what you're overwriting, what display mode you're in. If there's inconsistent display modes depending on where in the html you are.

2 - a reactive html scripting language which using html as the source of truth, and synchronizes html elements through their relationships to each other

i only have prototypes, and unfortunately given the climate i feel i am the only person who wants these tools.. but every few weeks i get to sit down and get some progress and that's nice


why?


I just do a lot of remote work and I rely on my phone which drains its battery and I’d love if I could just open my laptop and work


A 10 or 20 gram usb-c cable will literally solve this problem forever for $2.99


Battery problem solved

Anker 747 Power Bank (PowerCore... https://www.amazon.com/dp/B089D4176K?ref=ppx_pop_mob_ap_shar...


I have to work for 3 hours in a place with no wifi and no power outlet twice weekly. I physically connect my iphone to the MBA and it works great. The phone stays charged 100% and the laptop drains maybe 20% battery in 3 hours.


Buy one of those data hotspots? Then you don’t drain your phone or your laptop; plus can connect your laptop and phone to it.


To everybody trying to justify apple not offering a wwan option.

On Thinkpad you can add the module later. It's a simple upgrade, open up the laptop and plug in the wwan module. The Thinkpad already comes with a sim tray. Though today presumably you would use an esim.

But hey you can pick a color for your macbook, so that's something.

Extra rant: the hardware quality of modern MacBook is fantastic. The keyboard sucks. The reflective screen sucks. The number of ports is ridiculously small. Soldered ssd and ram etc etc. Fantastic battery life. My thinkpad is a turd in comparison. But at least it doesn't bend when dropped. MacOS is horrible, Linux is the only thing I want. Sleep on modern PC is broken by design. A MacBook sleeping loses 1% of battery per day. A thinkpad loses 100%. Why can't we have nice things god dammit.


looks like never


:(


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: