jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Mac keyboard shortcuts are not well thought out. It’s illogical.

The Command key is used for shortcuts for the current active application, as well as controlling the operating system functions itself.

There is no keyboard shortcut to activate the system menu bar on top. Insane. You have to use a mouse to click on the menu. Or you might be able to configure some weird shortcut to do it.

Instead, I think Microsoft won this one. Windows uses Control to activate the active window’s shortcuts. Control-S to save it. Control-O to open a file. Etc.

Alt key is used to control the active window itself. Alt-Space is used to open the active window’s menu, to move it around, resize, and close. Alt-F4 is used to close the window. But I think Alt-Escape would’ve been a better choice.

Then the Windows key is used to control operating system level functions. Win-R to activate the run command. Win key itself will pull up the operating system’s menu.

I think Win-Space should be used as a global run command bar.

If this project goes anywhere, then please follow the Windows model for keyboard shortcuts.

Also, use Control-Space to activate the active application’s command bar, so you can type in some manual commands to the application. Like Vim Or AutoCad does.
Is anyone else bothered by "The Definitive Answer" in the title? It implies the author presents irrefutable argument and if you don't agree then you're wrong, by definition.
In addition to that, one of the culprits here is a widespread sample code that was carelessly copied to a popular app. Shaming does penalize the other culprit but not that one.
Looks great, the site. Would add sound notification on message arrival (optional).
Which, in turn, took it's inspiration from the previous best: the Borland IDE.

Anyone else use Turbo C/C++/Pascal/BASIC back in the 90's?
> therefore sets about a disciplined program of self-improvement
> and wealth/prospect/prestige-accumulation in the hope that
> X may one day be attracted.

That's basically the plot of every mind-poisoning, B.S. movie fed to American (all Western?) youth.

So many men, especially young men, believe in this concept of winning over their love. Somehow he'll make her love him (creepy overtones of misogyny). He'll convince her that he's worth loving.

If you really like yourself, then that's good enough. If you're not happy with yourself, yeah, improve. But don't ever think you need to improve for someone else[1]. Anyone who actually responds to this is a manipulative jerk who will gradually up the stakes to watch you dance.

If X doesn't win over Y, he should consider whether he feels he needs to improve in any areas, pursue any changes, then see how things go when he bumps into Z, having forgotten about Y.

[1] - exception: unquestionably defective personality traits (alcoholism, gambling addiction, abusiveness) when you're in a long-term relationship and you both agree to work on it.
I say we attack immediately. Not wise to take chances they might be peaceful. ;)
The valuation of any company that lists on the chinese stock exchange is highly suspect.
Twitter, be being public by default means it doesn't have that intimacy that Facebook does. I'll follow someone if they're interesting, not because they're a friend.

But to answer your question, I find it fantastic for foreign language learning. Real, native speakers without travelling long distances.
I didn't realize this was "News of the Weird" . . . .
And VS started as a "me too" clone of the Borland IDE, etc. :P
Come on. Forced restarts are a feature!
Majority of these questions seem to be Trivia, which can be looked up. I don't see any need to learn them. They are probably nice to know but are not helpful in objectively evaluating a developers iOS skills.

The important thing while talking to candidates is evaluating their understanding of technical concepts - like multithreading, GCD vs NSOperations, application lifecycle, properties, references, blocks, memory management, caches, sandboxing, responder chain.

Whats the point of someone knowing HealthKit or Voiceover or screen resolutions if they don't understand how atomic or nonatomic properties differ?
The history is more tragic than that that light-hearted story lets on. Quoting from Wikipedia:

> Albert Alexander was a constable in the police force of the County of Oxford, England.[1] In December 1940, Constable Alexander was accidentally scratched by a rose thorn in his mouth. By the end of the month the scratch was badly infected with both Staphylococcus and Streptococcus and Constable Alexander was hospitalised in the Radcliffe Infirmary. Despite efforts of various treatments, Alexander's head was covered with abscesses and one of his eyes had been removed. ...

> On 12 February 1941, Constable Alexander was given an intravenous infusion of 160 mg (200 units) of penicillin. Within 24 hours, Alexander's temperature had dropped, his appetite had returned and the infection had begun to heal. However, due to the instability of penicillin and the war time restrictions placed on Florey's laboratory, only a small quantity of penicillin had been extracted and, although Florey and colleagues extracted any remaining penicillin from Alexander's urine, by the fifth day they had run out.[1]

> Constable Alexander died on 15 March 1941.[2]

> Florey and his team decided only to work on sick children who did not need such large amounts of penicillin, until their methods of production improved.[4]
Shameless plug: a short article about the company I work at interviews candidates: http://macoscope.com/blog/so-you-have-a-technical-interview-...
My guess is high frequency trading jobs in California pay more than startup jobs in California

also if engineers had fewer choices, wages would be lower, wouldn't they ?
The fact that I can replace it with AppCode :)
> It looks a bit like Dart (AFAICT), which is probably no coincidence?

Probably more convergent evolution than anything, but there are certainly similarities. :)

> Are you going to model it after Lua as you did the parser?

Yes, absolutely. My mantra is "when in doubt, do what Lua does", which works surprisingly well. I have so much respect for Ierusalimschy and company.

You can see the in-progress API here: https://github.com/munificent/wren/blob/master/include/wren....

> They did a great job with this comparison paper: http://www.jucs.org/jucs_13_6/c_apis_in_extension

Oh, man. This is perfect!

> I always wanted channels between C/C++ and a scripting language.

Wren is deeply built around fibers. It doesn't use the native C stack, so my hope is that it will be pretty easy to be able to suspend the interpreter to switch back to C and then resume it when you go back. All of the mechanism is there, I just have to see how it feels in practice.

You can build channels on top of fibers, so I'm really keen to play around with some different concurrency and communication models here and see what they feel like.

> I think both C and C++ are important use cases.

Me too.
It's a problem if you aren't a highly organized person like most hackers tend to be.

My gf - a sales/marketing pro - had a lot of trouble with this when she switched to iPhone; she was use to not paying much/any attention to her battery until the phone complained... She had to get use to charging every night.

It's easy to discount this but it was a pretty significant issue at least initially.
The classic paper 'Worse is better' by Richard P. Gabriel explains this point in a deeper way than this blog entrance.
You're right. I've edited it. The point remains that Libby did not spend any time in jail.
iFolder, originally developed by Novell. (Or so I heard.)

http://ifolder.com/ifolder/features
"potential upside on this is big enough to warrant a YC investment"

You make it sound like YC is like a traditional VC that requires a 10x return on a $20m investment to make their model work. Disregarding for now any 'grand plan' for further monetization beyond simple replication of this model that the company has, a YC-style (~10k for 6%) investment in a company that has already does $1.8M in sales isn't exactly bad.
Direct link to slideshow:
https://docs.google.com/present/view?id=0Ad5oWim5dM7AZG1xNzZ...
1) ask email - enough for sign up, sign-in automatically

2) show password - immediately after sign-up, also email password.

3) option to change password - at the show-password page
Why do you think wages haven't kept up with productivity?

The decoupling of wages from productivity started around 1971-1973, which is suspiciously close to the Nixon Shock and beginning of the 1970s inflation. In periods of inflation, firms with high bargaining power (notably monopolistic corporations, corporate executives, and right now, software engineers & quants) can extract the excess money floating around. Firms in highly competitive industries (notably restaurants, family farms, and ordinary workers) get undercut every time they try to raise prices. Therefore all the gains go to the rich.
Fuck Jet Blue. I'm boycotting them.
I believe he means that being a consultant required that he fly frequently, and they happened to single him out as well.
Seconded--canvas support would be great. I too had to mix D3 with some canvas drawing. The specific use case was that I had a number of diagrams, most of which were handled by D3, but one of which required pixel-by-pixel rendering (i.e., each pixel in the canvas was colored according to some data).
No, consultants travel often enough that the frequency of enhanced checks starts adding up to a lot
In the past,the niche in the population who suffers headache/nausea/etc from lcd refresh rate would have loved this.

But some lcd makers solved this, like viewsonic in[1], so this niche is gone.

[1]http://www.amazon.com/ViewSonic-VA2455sm-SuperClear-Flicker-...
(:

(an imperfect alternative as some parse it as a failed :( )
Those windows controls on the left was the result of UI experiments. The mouse travels less when the controls are on the left. Imagine launching an application with the launcher on the left, and when you want to close to close the application, you have to move the mouse aaalllll the way to the right.
It is not a breathtaking innovation as OS/X had been doing it already.

You can learn to use the windows controls on the left. I got used to using them and it takes a few days to feel at home.
When sadly Ubuntu switched back to GNOME Shell and reverted this change, it felt really unnatural to have those windows controls on the wrong side. Still, you get used to it after a few days.
How do you know what the correct rates of incarceration in the US should be? I've struggled with this question and I'm curious as to how others have arrived on a number. Saying "less" or "more" seems like a way to justify policies with no accountability (i.e, asking to be abused), so I do not use those answers.
Ideally ads should be like a recommendation system. If you want to buy a hard drive, the 'best' ads should be of hard drives that suits you, either because of their price, their features, or whatever you personally want. In order to build this profile, the recommendation system should know you, your data. Lots of recommendation systems exists, and those who's first objective are users seems the best ones (preferably if they are offline so your data is not shared).

But what about an ad? By definition it's something someone pays to be shown. When Google shows you targeted ads, they aren't showing you the best ads for you, they are showing you the best ads of those companies who paid for it (and probably the price influences its ranking). The user is not the first objective.

In an ideal world, personalized ads wouldn't be called ads, and would be like having an assistant. You want a hard drive? Here is the best hard drive for you, or a list if you prefer, and then you buy it and the company earns your money.

In the current world, that's far from the reality.
This is still strange though - it's not like images are destroyed when they are used for testing. Is there a reason for not using these in Look Around that I've missed?
Yup, that is exactly how it worked with GDPR: big companies can easily afford the cost of compliance while smaller competitors struggle.
An experiment is always more limited than the thing it is being used to study.

If you are experimenting with a limited budget you really cannot afford to give it to absolutely everyone; just as in an experiment in physics or chemistry you try to simplify the environment so as to both make the signal clearer and to get it done with the resources available.

It's a balancing act. If you insist that the only valid experiment regarding UBI is to give it to everyone then no experiments can ever be done.
It's been interesting to watch the rapid degradation of the term clickbait, we've quickly gone from the original targets of the term ("Local mother discovers one small trick", "He did X, you WON'T believe what happened next"), to it now being used in probably a third of HN's comment sections to describe any title which is even mildly editorialised and not a longwinded statement of plain facts.
No central authority has to decide which job is bullshit. I don't think people like doing these bullshit jobs, they do them to survive. Give people UBI and they'll simply quit their telemarketing, soulless middle management, ad tech job...

Some of those people will play video games all day, some will create new tech, some will create art... and as you say, no one is in a position to judge which of those are "productive". It's just important to free people from the need to enrich others just to survive.
"Being anti-colonial"

So, would Hong Kong be better of under British rule or Chinese rule?

Even contemporary EU has some quasicolonial attributes: industrial powerhouses like Germany siphon off qualified workforce from the periphery and export their products back without trade barriers.
Even Hayek approved the idea of a universal basic income. The freedom that a free market provides can only exist when each side of the agreement are free to walk away, in reality many people are in a 'work for me for low pay and bad conditions or starve' kinda of deal which is effectively coercion and against any idea of freedom.

Instead of directly giving people money they build highly inefficient aid programs full of bureaucracy just because of pure distrust, if you dont believe that the individual can make the best decisions for themselves and society then you dont really believe in capitalism.
A decade ago the fast food place i worked at had a 50% police discount. We never had too many police come in anyways.
Came here to say this. In my humble opinion, the creator of Falcon should write at least 1 very clear paragraph to explain how this framework is better or just different from Flask. Flask is such an amazing piece of software, you'll need to make the case for me to use it much clearer than it is now. From its APIs to not having a templating engine included and strange things like hooks.to_oid, I don't see why I would use Falcon over Tornado or Bottle either.
Not the best article for Linux lovers but probably good for people that have very little idea about linux.
I recently had to edit a lot of videos. With a couple of scripts in bash using FFMPEG I did a ton of work, denoise, watermark, add a titles according to the file name, trim. All this could have been done in OSx or windows but the «common» users of those OS have little contact with the command line.
This feels like a fad not a trend, but it's hard to say.

They could adapt in some way.

Twitter seemed useless at first, but once you realize the voice it gives a small class of people - and - that the media would use it incessantly and addictively - then you realize why it sticks.

Snapchat settles into chat.

WhatsApp is into 'I don't have to pay SMS in Brazil etc.

TikTok - is so ridiculously addictive it remains to be seen, but I'm wary that it will actually have staying power.

The private wave has hit so hard with Clubhouse you have to think they are going to push it hard, and with a major media push this will get really big before anything else. Like every pod at CES having a Clubhouse. A Clubhouse with every salesforce account etc.

There's an opportunity for it to become a de-facto live streaming platform for audio.
I have two of those boards too. They were working on a 1024 core version, but alas, they didn't survive as a company to make it.
> What is the common denominator between all metals?

I think most people who study this would say the common denominator is that metals lack a band gap and have a very mobile sea of electrons, and therefore good conductivity. Metals can be amorphous, or crystalline, or anywhere along the spectrum.

The "new school" certainly hasn't forgotten, or ignored, that crystals are patterns that tile all of space. These are known as space groups, and they enumerate every way to tile 3D space symmetrically (https://en.wikipedia.org/wiki/Space_group).

Anyways, I can guarantee that people who really study the subject absolutely take courses in metallurgy, crystallography, 3D math, and much more.

Also, if you're interested in simulations, I don't do that much myself, but you can always run some open source simulation software. http://www.opencalphad.com/
There have been many more ffmpeg developers since then. I think it was originally a mpeg1/2/4 codec only, which is something one person can do. Although hardly anyone has done it with acceptable performance like he did, usually they like to get abstract and object-oriented for no actual benefit.
I'm very interested in the possibility of reusing eink screens from old ereaders on the Quartz64?

It seems like there is only the one brand, but probably there are generations of EDP ports or flavors relating to maximum size, color/gray-scale Levels, etc?
Bloggers and internet marketers have seen the value that blog commenting gives and therefore, they resort to various unethical ways of building backlinks via blog commenting.
Thank you for posting this. I was about to book a ticket on Jetblue for next week but I am now decided not to fly with them or recommend them to anyone.

While we can fix private airlines and businesses for their stupid attitude there is, of course, no way for people to fix NSA/TSA and all those inverted bullshitters living on taxpayer's money.
The trick seems to be caching mail headers, https://gitlab.com/muttmua/mutt/-/wikis/MuttGuide/Caching

Also if you change folders frequently you can put:
set sleep_time=0
Is that smile at the end of your first sentence meant to be condescending?

You are affiliated with Caddy and ought to mention that when you promote your own software.
https://news.ycombinator.com/item?id=16687686

This is not a competition. Caddy is not even in the same realm as Redbean.

Redbean is a multi-platform binary that doubles as a ZIP. It's roughly 1500 times smaller than Caddy too.

> different usecases

Right. :)
The problem with statements like "I happily use Matrix but my grandma will not, ever, not in this world" is that Matrix is more of a protocol than anything. So of course, your gradma would never use HTTP, but since browsers are now user friendly enough, everyone is using HTTP indirectly. Same can (will? Might?) happen with Matrix, where a popular applications get written on top of Matrix, and users don't even need to know about Matrix, just that stuff works. And when they move to another client, they can bring everything with them and stuff keeps working automatically.
I think that depends on how complex the config can get, and how it is used.

For example package.json in NPM packages -> that feels like a good fit for JSON (although it would be even better if JSON had comments). On the other hand, terraform, or build languages like Make or Meson -> they are complex enough that it probably makes sense to have a standalone DSL.

I was facing the same decision recently on my project while designing a declarative DSL for web app development (kind of like web framework).
From simplest to most complex option:

- should I just let them define it all in JSON? There would be a lot of repetition at some point and it would become impractical, but it could be ok for the start.

- should I just implement JS library, that devs can use in JS to construct a config object that is then exported to JSON? That would be embedded DSL. Sounds flexible and easy to do, but it is also overly expressive and not "cool" (ok this is debatable).

- should I use something like Dhall? It is declarative and simple.

- should I come up with my own declarative, configuration-like DSL? It would probably end up similar to Dhall, but this means I can do whatever I want - I can make it as ergonomic and custom as I want to (which I guess is both good and bad :D!). It might also allow for nicer interop with Javascript and other languages.

In this case, we went for the last option, mostly because we felt the most important thing is ergonomics and interop, but well, I am still curious how would other directions play out. Plus at the end we didn't yet get to the point where language is more expressive than JSON (code example: https://github.com/wasp-lang/wasp/blob/master/examples/tutor...).

Maybe I am just missing a better design process, but it seems to me that with a language idea it is hard to say if it is good or not until you try using it.
> I really don't think it's possible to accuse a solicitor of having a conflict of interest with her own client. If she wanted to try and push for a better result, surely she would have framed it as a travesty of justice and not used the word 'victory' in any way.

This is a high-profile case, which could make or break the reputation of this solicitor. She is bound to frame the ruling in a positive light, no matter how ineffectual she knows it to be.

She is hardly going to come out and say "This ruling is a disaster; we haven't achieved anything for our client."

> Search them for evidence of other criminal offences? For example if his laptop contained pictures of him doing drugs, or possessing firearms, or any of the myriad potential crimes anyone could have committed.

All the data stored on the seized devices is going to be closely scrutinised regardless, just under the guise of protecting national security.

They are still going to discover evidence of any unrelated criminal activity, and as far as I'm aware this ruling doesn't prevent them launching separate criminal investigations — the police announced today they are doing precisely this.
They have to be listening for you to be heard.
he set off an explosion detector (and clearly it doesn't get false positives often given the response they showed)

False positives are fairly common, but usually easily explained -- e.g., "I was target shooting yesterday, there must be some gunpowder on my clothes". A false positive which the individual involved is unable -- or unwilling -- to explain is far less common.
The HTML Living Standard https://html.spec.whatwg.org/multipage/
I was in traffic court last week and a guy was there fighting a ticket he got for impeding traffic. According to the cop, the guy was stopped in the middle of the road and did not pull off the road when asked.

According to the guy, he was stopped because there was traffic in front of him, and pulled over after the light turned green and the cars blocking him in cleared out.

The guy (a casually dressed minority with tattoos all over his arms and neck) seemed frustrated as hell when all the cop did was was to simply tell the judge "I didn't see anyone in front of him" over and over as the guy tried to explain his side of the story. The ruling: guilty as charged.

I don't know what the truth was, but it sure would have been nice if there was videotape to see who was lying. As it was, it was the cop's word against the word of a guy who looked like it would be all to easy to declare him guilty.
I'm sure that there is a common way to make explosives with pesticides, but it's more common to use pesticides to kill pests. Right? The sensors obviously create false positives in most cases I'd expect.

Giving people water should be a bare minimum requirement in any interrogation.