skysight-inc/HackerNews huggingface dataset:
I liked Lolita because it was written from the point of view of the perpetrator. Can’t remember many other examples - “The Scarf” from Robert Bloch is one. I have doubts it would be published nowadays, too.
> Having standard serialization is just gonna be boilerplate and unneccessary for many programs.

And for a lot of programs having to keep generating and parsing strings is just a bunch of unnecessary boilerplate.

> Stream of bytes is the only sane thing to do. Nothing keeps you from not having a flag in your cli programs to choose the input/output format. In fact many programs already has this and json seems pretty popular.

Having an API like this is a great idea... as a thin wrapper on top of a tool with a standardized serde protocol or binary file format. The different API's can be exposed as separate tools or as separate parts of the API of a single tool from a user's POV.

Furthermore: JSON is not just a stream of bytes nor text, neither is CSV, nor any other text format. Handling text as properly typed objects makes a lot of sense.

I have little experience with shells that can work with objects like Powershell. But I'e seen screenshots of new objects-based shell developed in Rust some time ago and it was early days still so I didn't actually even try it out, but looked downright great compared to the current stream of text-based shells of today in terms of ergonomics and capabilities.
The footer is a great place to put all the things people usually try to cram into the header.
That's true for some sites, and that's what Wikipedia does. But in apps, I don't mind if some discoverabilty (such as for non-essential links) is sacrificed - people will eventually learn if the app matters to them.

Take the case of HN. The "15 minutes ago" and the username are both clickable for a topic. But not underlining or differentiating them makes the text more readable. Most of these things are opinions of course.
Program managers control products more than than people managers usually. And principal is high enough to run a product.

Several pages say Sundaram's title is Technical Fellow and VP of Engineering. I assume you know what you're talking about. But you can't blame people for thinking it's an engineering role only.
Also interrogating offenders without a honest wish for discourse and more to get them to step on one of thousands "bells&whistles" in the minefields and thus condemn them in public for some "thought"-crime and silence them forever with the chill factor. Not everyone has the time and dedication to be a full time culture warriors.
Lots of people will vote to whoever promises to end this madness.
I don't think the salaries here in Spain are anything to write home about compared to other developed countries, but they've gotten significantly better over the years.

I consistently see JavaScript SEng roles at startups and large companies going for 40-60k.

The big cities are quite expensive, and you're not going to buy a mansion with that kind of money but it's still pretty good, especially compared to the national median.
I have JS disabled by default using uBlock Origin. The first thing I done was press CTRL+U to inspect the source. Then I deduced the site wasn't malicious (or is it malicious?) and played around with it with JS enabled. It creeped me out, as all these data points could be used to fingerprint a user using simple heuristics like mouse movements etc
Sort of. A lot of Chinese words involve multiple Chinese characters (2 or 3 is common), and they aren’t completely semantic in their use.
I'm ok with unhealthy consumables if people enjoy them, but generally: Food, nice soaps, candles, shows, wine, anything they need from the shops while I'm there. Small loans without expecting the money back in some cases. It's hard that a day goes by that I don't get something for someone.

On the other hand I really hate mandatory gift-giving: Christmas, father's day, valentine's, birthdays. I make the minimum effort I can get away with then.
Can't speak to that particular environment, but the explosion of lyme disease in Northeastern US over the past few decades or so. Lyme disease is passed by deer ticks which largely live off of mice, which have had decades of under-predation and good fortune as suburbanization creates miniature grasslands that are too disjointed to support the predators that should be eating them.
Something that I do that most people seem to miss is disable sticky headers below a certain height. It's super easy to do with a simple media query.

I used to use a square-screened BlackBerry 10 device, and the number of websites that didn't do this was infuriating, and I made frequent use of a "Kill Sticky" bookmarklet. But everyone runs into this issue at some point just by turning their phone to landscape mode, which most web developers evidently don't test with.
Ask HN: Is isTrusted in DOM event reliable?
I'm curious about prevent spam bot submitting forms (well, beside using captcha).

Some DOM events, for example MouseEvent, or FormEvent contains a boolean, read-only property `isTrusted`. Basically, to see if the action was performed by the user, we check if `event.isTrusted` is `true`.

From what I saw, there is one case to bypass a form `submit` event. When the form has a submit button (which does nothing). If I click the button through JavaScript, the button's `click` event will have `isTrusted = false`. But when it bubble up, the form's `submit` event will have `isTrusted` became `true`.

Is there any other case, isTrusted not reliable?
It's an increasing scale with no upper limit. Financially, I don't even register on the chart...but I'm already seeing things like "Do I buy the $600 laptop because it's all I can afford, or the $1299 one because I -Like- it and it won't affect my outcomes any."

This, with more yachts.
it looks interesting
I think it signals the wrong values to the rest of society. We're all influenced by behaviours we see glorified or rewarded. There's damage being done collectively. But I don't think the person engaging in luxurious consumption is a bad person for it. I just think they're being suckers.
You can make £90k as a teacher in England?
No one designs for IE6 anymore either. If it costs a lot more to support a platform that doesn't bring in money, it would be a terrible business decision.

"This is losing is a LOT of money, but it would be a nice thing to do" is not realistic.
Just upgraded from SE to 12 mini, but was hitting issues with testing a web app on my SE. I'd also kept it on ios 12, and all new 'large' devices were auto upgraded to iOS 14... hilarity ensued. We hit weird bugs that only showed up on iOS 14.

But... in general, yeah, the size/space/perf issues are more easily spotted on a device like an SE. I re-optimized some JS - reduced memory, speed improvements - was far more noticeable on the SE than the newer flagship devices.
Is stew a normal thing to feed to zoo animals?
Finland embraced being 'happiest nation'
Right - so if you're introducing type annotations into an existing project and have a method expecting some interface, used by many call-sites spread across various parts of the project, then you can go around wrapping the original type at each call-site as you've indicated.

Or add a single type annotations to the method declaring that the parameter satisfies a protocol.
Isn’t datalog with backward chaining just prolog? Datalog was known for forward chaining (bottom up) while prolog was known for backward chaining, datalog with backward chaining sounds like a misnomer.
Using a phone basically gives me the motor control of a toddler. Stuff pops up on hover, or the page jumps down because of some laggy ad, and I'm clicking on stuff inadvertently and swearing at clouds all the time. The best menus for me avoid that by being in the same place on the page and being big targets.
That doesn't make any sense as a response. Lord of the Flies is an allegory for anarchy and violence driving a group in a desperate situation.

I asked what you are basing your comparison of the book to fraternities on and you told me a literary device used by the book instead.
I’m not sure ‘contained’ is quite the right word to use here. Perhaps populations might be less than what they used to be, but where I live in Sydney, you can barely walk across the road without seeing at least a couple of rabbits. We certainly see more of them than we do of wallabies, possums or any other of the stereotypical Australian animals.
Political leadership maybe does make a difference. I see since mid Jan when the US presidency changed the US is down about 5x in cases while Brazil is up 33%. They have now taken over the US's long run as #1 in the world for daily deaths.
I would love ability to redefine call/ret to profile an app without compiler generate diff code.
I understand that and agree with you regarding backwards comp, and legacy systems, it still pisses me to no end though, because it's like a continuous patching of things over things, each one increasing the area of friction - at some point if this digital infrastructure is to take a central part in human systems though it will need to be pruned, re-worked and if needed broken, otherwise it will continue to get worse.

And this is not even just at a systems level that I think is problematic - for those working with it, it's also with what it enables and what it doesn't.

I'm not a genius but I can see many ways of solving these cookie/privacy issues and I'm sure the smart folks back at these companies (browser, ads, etc) could too, they just choose not to.
You point out some very real consequences, but that does not negate the possible advantages. Weighing the net effect really depends on your organizational objectives.

For example, I know people who are damaged from growing up in incredibly hard abusive environments. They Have shot people and still occasionally beat people bloody due to anger issues. If I had to choose someone to be in a life or death combat situation alongside, I would easily choose them over my less "damaged" friends.

In a similar vein, the Japanese were also known to be remarkably ferocious and obedidiant fighters and it is unclear if Japan would have done better in WWII if they had a less abusive military.

It is entirely possible that the optimal mental state of a soldier is not the same as a healthy and productive member of society.
The iPhone SE 2020 is hardly comparable to IE6.
In fact, maybe these people are not even dumb. Maybe they are buying into this stupid shit just to be hated, and see it as a reward from society for their achievements? If society hates rich, why should the rich not try to compete in attracting the hate, just seeing it as a sign of recognition, and try to get the top bang for the buck (without going to jail)?
Not sure if serious, but it is against New York law. That might not be the only reason, or even the main reason, but it remains a reason.
I don't think this is the place to discuss details, let's just say I walked away unimpressed by the business and the people I spoke with.
Amen. I'm sticking with my 12 mini for now, but just left the original SE. they're close in size, but more screen means more reaching/stretching for my small hands. SE2 was bigger, but because the screen is smaller, I'm wondering if that may have been the better option? I miss the Touch ID too..
The confusion seems to be why they would post something so weak in the first place. Do they think the British public are stupid? It's makes them seem like they come from a banana republic.
Written this way, numerals reminded me of the Ted Chiang’s “Story of your life” (which served as a basis for the movie “Arrival”). Both are recommended.

Also I could not help but notice poster’s nick name. Question to them: is there a connection?
That's good feedback. I also stumbled a bit on the word Georgian and I am originally from Georgia.

To me, that calls to mind Georgian architecture, not stuff from the state of Georgia.

https://en.wikipedia.org/wiki/Georgian_architecture

But the reality is that HN has some guidelines concerning titles (plus a character limit). So I did the best I could within the constraints as I best understand them, but I will certainly keep your remarks here in mind for any future titling challenges.
That's the things bout economics...there's dumb shit you can buy at EVERY LEVEL!

My boys are experiencing they first stead incomes at 18 with their first non-home-chore jobs.

They're spending some of that money on Hotwheels, and personally, I'm happy letting them experience that, they save a little, they spend a little, they get hooked on getting things they want...because it incentivizes them to be successful.
> Want to know if menu parent is a hyperlink? Easy, it is, if underlined. Period. No confusion.

'Comment#1':: There's more to UI design than disambiguity through explicitness.

'Comment#3':: Follows 'Comment#1' : Sometimes it's about things like simplicity

`Comment#2`:: Follows `Comment#3' : Other times, it's about things like removing redundancy, e.g. knowing a navigation menu is a special ui element and shouldn't be over-complicated with underlines, and changing colors. A navigation menu is not a text body which is usually against a simple backdrop like white, and is far more standardized. It also has do things like show child elements, which is what the whole article is about.

`Comment#5`:: Follows `Comment#2' : It's also about establishing brand identity that has a direct impact on market performance - like having custom color themes
I gave up on using a mouse on them a long time ago and just use arrow keys if it's more than one deep past the initial popup.
My favorite so far is my banking app asking a security question, with it being in a single-line field that truncates right at where it asks what information to provide.

In fact, I think I'll upload it somewhere for this author to add to the list.
The isTrusted flag won't help out with that, it's primarily an indicator that the event follows a user gesture and can escalate privileges (like playing audio). A spam bot will usually not be using an actual browser (or running JS) - and if it were it could easily say all events are trusted.
Barolo to Truffles in the Shadow of the Alps
Cheers, well met. :-)
How long does it take to get promoted out of the initial hazing? Productivity at 40 hours/week beats productivity at 60 hours/week over any time scale longer than a month. I sincerely doubt that the turnover/promotion rate is only a month long.

I do agree that there is a misalignment of incentives. An employer is not financially responsible for the burnout that they induce. If it takes the employee an extra 2-3 months between jobs due to recovering from that burnout, that is a financial hit to the employee on top of the emotional hit, even though they were not responsible for causing the burnout in the first place.
You build a widget for a buck...but you can SELL the widget for ten. Are you going to leave $9 on the table?
No one. AI is racist people in power getting more power
As long as there are racial differences in data there will be racial differences in outcomes of processing that data
"If you're reading it, it's for you."

I hope the people portrayed in this article aren't representative but I do know there are two possible reactions to the piece: Being grossed out by the lifestyle or thinking it's a good idea to emulate it. Since the NYT chose to not portray anyone taking a bath on a speculative sneaker purchase, I can only assume their intention is to glorify this behaviour. So I choose to be outraged by it publicly as a counter balance.
Some are clearly mistakes from the builders, others are features. Come on stop bitching around and pick up some real apps.
The same problem exists on Android. I chose one size larger system font because I like to be able to read the screen with my glasses off and safely read the screen while I am driving.

The result is UI regularly covered by the keyboard. Text clipping and text overflows. The tiny map problem mentioned in the article.

As much as I want a smaller phone I fear that it would be unusable with the default UI and certainly if I chose to use increased text size.
you're right. idk why i said post-covid at all. i know i'm not waiting!
Continuous Typography
> like Athena or EMR

Despite being familiar with both of those individually, the combination of the two words side by side switched me into an entirely different context that took several tries to escape from...

https://en.wikipedia.org/wiki/Athenahealth

https://en.wikipedia.org/wiki/Electronic_medical_record
After almost 40 years I came to the realization, that Europe hacked everything away (C64, I as someone from Beastie Boys can confirm), while in the United States they had developers that tried to figure out from the beginning how to commercialize their work, thus shareware etc. was born. Doom for example would have never earned a dime in Germany. Also VisiCalc etc. Professional software had a tough time especially in Europe.

My point of view. So hacking was and stayed your main option in Europe during the 80th, 90th.
How far ahead is AWS in comparison of other Cloud Providers? I only use the basic services (compute, storage, cloud functions, etc). But for people with advance use cases, are GCP and others even comparable?
It's not entirely free, but rather the costs are spread among all taxpayers.
The cover-up continues!
Being profitable doesn't mean Google wants to stay in the business or that they are investing or innovating the product.

Take Google apps (or its name of the week) and compare it to M365

It becomes clear they aren't staying competitive or innovating.

And they gave up a 3 year lead
How to Choose an Everyday Fountain Pen
There is a 60 second limit which seems to be the biggest difference.
That's just a huge larp
The only thing the review process is good for nowadays is to randomly ban apps by mistake, and make sure you're not taking payments without giving Apple their cut.

The walled garden has for a long time failed to actually keep the quality up.
thank u, it is interesting to me. My cousins born in 1990-2000 still follow the convention, but i am not sure about their kids. Most of them speak english so i am sure they use their english names more often
I keep a Windows machine around for mainly games, and this is the very first thing I'd do on a new Windows installation. Run "gpedit.msc", find the "automatic updates" policy and disable everything.

Then it only sends you a notification once in a while, and that's it.

afaik you can do this on Win10 Pro and above.
In practice however Anbox is slow as hell on the PinePhone.
> "The way they do it is the dog grabs the rat in it's mouth and shakes its head wildly."

my dog is a terrier/spitz mix and shows this behavior in play (from the terrier side, the spitz side just makes her pretty =). she'll grab a stick or other small item and shake it wildly while bucking about. most people think it's hilarious until i tell them why she does it. =D
AI will be as racist as the algorithms and data that is fed to it.
Why should they have the right to have their payments restructured? Why does your argument for saying that discharge should not exist not also apply to why people should be held responsible for abiding by the original terms of the debt agreement?
Here's a question: why work for GS if it's so bad? Sure, that sounds like a pretty terrible job to me (E&Y is also known to grind junior employees in their infamous rat race). I mean, do you really expect me to feel sympathy for people in FINANCE? If this article was about underpaid, low income workers with no other options and barely able to survive having to work 80+ hours, then you might have my ear, but finance? And at GS?

Where's the world's tiniest violin when you need it.

The only reason GS does this isn't because they're exploiting some starving group of people. They're doing this because young brats out of college have fixated on GS and ultimately the promise of making the big bucks in finance. The only thing keeping them there are their egos.
Maybe exposure? I wasn't involved in the scene creatively, but I did experience it in all its glory in the early 90's. I was blown away by the creativity and it was the highlight of running my BBS. Your negativity is kind of disappointing, you don't have to be so punk about it. We're all old now.
That will fit approximately 1 modern demo, give or take.
Doesn't place nice with i3 tho. Nor does it appear to recognize Brave
https://en.m.wikipedia.org/wiki/Lead%E2%80%93crime_hypothesi...

There's a LOT to chew on in there.
I think the quality of beans in Ghana is improving but they are still significantly behind Central and South America. As someone who worked making high quality chocolate in the US, people are less likely to invest in exploitative cacoa production just as much as low quality beans.

If you are buying an $9 chocolate bar, in addition to quality, consumers are also looking to support fair business models. So improving the labor conditions, something many European companies seem to show little interest in, is as much a part of finding better partners as increasing quality. And more and more, these issues are just as important as quantity.
Sure, there might be advantages like you describe. But then you’re describing damaging people for life, only to extract 5-10 years of possibly more effective military service out of them.

If that is truly a decision you want to take as a country/military, it says a lot about the kind of society you’re part of.
Can you give an example?

I asume spam bot should run in a browser-like enviroment (i.e puppeteer), which events should behave the same (i.e `isTrusted` will always be `false` since events are not real).
I can understand Clubhouse. They don't care about people with old small phones--they're not influencers.

But banks, drug stores, and things like Spotify should be paying attention to these things. Many businesses may out-source app development to people who just don't care about anything but "meeting the spec" but Spotify should know better.
This is wonderful! It was a huge part of me when growing up, and I still bond with others when we discover our common past.
> we need a planned economy.

No. We need a mixed economy which does a dramatically better job at lowering economic inequality and protecting the environment. In the US one great start to solving these two problems would be a UBI and a significant carbon tax.

I'm curious; where is the talk of a planned economy coming from? Who is the most famous current economist or writer that is proposing such? My general impression is that the planned economy mostly exists in the imaginations of many on the right, who ascribe it to all Democrats.
Thanks for calling this out. It's good to be able to spot this tactic and when you are on the wrong side of it. It's emotionally difficult for someone who cares about the craft to engage in good faith working groups, only to realize that no one takes you seriously and that their actions are diversionary and performative while the decisions get made elsewhere.
There are other factors besides technological progression to be considered. If you want "workers" who are willing to brutally kill others and sacrifice their lives without questioning their orders, the question becomes less clear.

IT is entirely possible that the optimal mental state of a soldier is not the same as a healthy and productive member of society.
National Security Commission on AI Calls for Mandatory K-12 Statistics and CS
Wayve: Emerging Behaviour 'Driving Intelligence' with End to End Deep Learning
I was going to respond with a joke and quickly realized that the joke is very accurate in US. For a good portion of the population, being out of work is akin to death. Joblessness is a quick way to homelessness and the homeless do not tend to have a long life..