skysight-inc/HackerNews huggingface dataset:
> If your kids like Minecraft, I cannot suggest enough the "learning Python with minecraft" book and optionally the Udemy course for teaching kids python

Thank you, I will check it out! I just retired and older Pi from production that would be perfect for this actually...
Scientific American was the last print magazine subscription I had, out of a dozen at one point. I finally dropped it when they started to regularly publish highly politicized articles. That was > 10 years ago. With that record explicitly endorsing a particular candidate seems like a minor change for them.
Did you read the article? SciAm opens by acknowledging that their endorsement is unprecedented, then supports it in great detail by showing how this presidency has indeed been unprecedented.

"If you are neutral in situations of injustice, you have chosen the side of the oppressor." -Desmond Tutu
It’s not equally likely unless you think 50% of statements Dimon makes are lies.

If you do think that, it would be an interesting and unusual claim worthy of analysis, but it’s certainly not a reasonable assumption without such analysis.
Charging is only one of the things USB-C is capable of. But most people aren’t complaining about that;[a] they’re complaining about the “alternate modes” such as DisplayPort, Thunderbolt, etc. And if one wants to use those “alternate modes,” you can’t use any old cable; you need specific ones capable of them. It should be obvious why this is a problem: just because two cables look identical, they may not be.

And not even that! There’s also the problem of bad cables. If the USB Consortium actually cared about consumer safety, they would aggressively enforce their trademark against cables falsely advertising what they’re capable of. But they don’t.

Remember Benson Leung? The guy who was testing USB-C cables from Amazon so you wouldn’t have to? And then one cable ended up being so bad, it fried his Pixel Chromebook.[0] Not good.

TL;DR: USB-C was supposed to be “one connector to rule them all,” and it succeeded at the expense of consumer confusion and possible harm.

[0]: https://www.amazon.com/review/R2XDBFUD9CTN2R/

[a]: Except for maybe the people who don’t understand the basics of USB-PD
Also Python Enhancement Proposal
Chinese database of 2.4M influential people and their weak points revealed
I'm clearly missing something, but why is this so hard? I thought Java made a point of being fully backward compatible, both at the source level and the binary level (.class/.jar)? Is that true? If so, why is upgrading to a later jdk more work than, well, installing the newer version?
Thoughts on the end date?

30,000,000 to 40,000,000 have died from AIDS over the decades for some reference point.
> Remove the ink pot from the epicentre of Raphael’s fresco, and the work dissolves into a fiasco of confused and confusing forms. Heraclitus’s profound, if overlooked, ink pot is the very well-spring from which the elastic energy of Raphael’s masterpiece endlessly emanates.

:-/ I don't really buy putting this much on the ink pot. If the ink pot were missing, no one would notice. As is, most reproductions of SoA just show Plato and Aristotle and cut everyone else out. I think a better statement would be "the pen in Heraclitus's hand adds unity to the picture by showing that the anachronistic crew are united in their literary ambition."
There is no reason to not be honest about these types of things (unless of course you're doing something shady). If you want to fill the position quickly, you should say so. Now, of course, as a candidate if I heard that I would jack up my compensation numbers, but again, if you want to fill the seat quickly that's how it works.
To be fair inputs in Vim can also be bound to a function call.
In large parts it's just a different scripting language. After
trying both for a while I'd say Emacs and Vim mainly have more
very different approaches to the same goals. I never really
loved Emacs but I do appreciate its better scripting
language(imho) and more robust syntax highlighting.
Absolutely agree; advertising is storytelling. And storytelling is what makes the object of storytelling memorable.

>> One thinks they are immune to this insidious storytelling, but just observe the nudging over time, and in months see how far the view has shifted.

I am skeptical. The only cases I can think of where it has worked (religions and cults) are ones where resonant storytelling is all there is. The power of collective belief and shared meaning outweighs any contradictory facts. In extreme cases, the facts themselves are denied (the fossil evidence is a lie). In most cases, memorable storytelling nudges you to pick one of out essentially similar choices (from coffees to smartphones).

>>The Russian story is an extremely useful case study of an extremely successful operation, operating at the tectonic plate level.

This is an interesting point. I'd love to see some objective study looking at who actually changed their beliefs after coming across these hyper-personalized political ads. Getting the already disaffected to reinforce their beliefs is one thing, and getting people to actually shift their beliefs to the other camp is another.
They're trying, especially for opioids

https://adheretech.com/
https://www.pillsy.com/
https://www.elucid-mhealth.com/index.html
What caused them to ban you?
Regarding this

> Undue pressure to accept an offer

Sometimes the recruiters may do this even the company may be cool about you taking your time. So don't take the recruiter's attitude being representative of the company.

Especially if it's a third party recruiter.
> If through all the different stages of the interview process, you experience a consistent lack of interest or low morale from your interviewers, you might want to pay attention

This is good advice. I certainly have a different perspective of a number of companies, where my outlook of those companies has changed are after witnessing this. It was easy to pass on those companies.
Me too. When I read the title, I took it to mean a retrospective after interviewing 60 candidates. Little did I know.
I love the box fan method, wish they would market that at menards for people doing drywall demo :)
> It is absolutely not normal to demand copyright for code written by a developer in off-hours.

In the US, it's the standard. There are exceptions, but most companies will demand it. I've been bound by IP assignment contracts exactly like this for my entire career - from Oracle to a pair of startups.

> sign non-competes saying they will not work on the project.

Also, in the US, this is a long-established standard. You will not work for your competitors. Zig is a competitor for Zen.
Well compare it to:

https://lite.duckduckgo.com/lite
Pushing Prometheus Metrics from R Scripts and Reports
There are experimental releases.

https://jdk.java.net/loom/
> It's in everyone's best interest to ensure tenants can pay the rent.

Which is why it's so weird to see landlords advertising "no Section 8" (which is unlawful in California, FYI). Section 8 is an ironclad guarantee that you will get paid in full and on time every month.

https://sfbay.craigslist.org/search/apa?query=%22no+section+...
If he doesn’t then there is little point in writing this blog post as well.
Writing this post: https://christine.website/blog/v-vaporware-2019-06-23
FSF isn't vehemently opposed to permissive licenses either (they are merely discouraged), but that is the argument GP decided to bring here.
The regulatory process failed but was revealed. Hopefully Germany will do better.

But the US has more companies and activities going on and likely more fraud just by volume if not the regulatory capture and other issues from the current administration like secretaries who want to dismantle their departments. The administration itself is fraudulent, laundering campaign money to private property or court/lawyer costs, or simply rewarding friends like the current USPS head donating a bunch of money to the GOP then getting their position while holding millions in stock of USPS competitors. It's just so blatant and corrupt but nothing happens.
Cancer needs sugar. One of the primary ways they detect cancer is via a PET-CT with a radioactive glucose tracer. It lights up where glucose uptake is the highest. This article talks about starving cells going into defensive repair mode, but also about how energy-hungry cancer cells are.

I had cancer (lymphoma) and did three years of chemo (mostly maintenance/preventative, as it was wiped out in the first couple months). I actually gained an enormous amount of weight, because the steroids I was on (and all the weed I smoked) made me ravenously hungry. If I end up in that situation again, I'm going to make a concerted effort to dramatically reduce my calorie intake, and in particularly carbs, because I've read a lot about the potential benefits of starving the cancer out.
This is super cool and I would pay Maya-level prices for it. For indie game development, tools like this are gold.

Although MonsterMash is more advanced, this reminded me of Martin Hash's Animation Master [1].

[1] https://www.hash.com/software-14-en
I just want to say that I really admire and support what Zig is trying to do here. It takes guts to try to launch an ecosystem from a fun hobby to something that can be used in production and hopefully sustain its contributors. They're not there yet, but it looks like they may well be on that journey.

This thing looks very unpleasant, but hopefully it conveys the message that Zig is potentially valuable. Figuring out how to fund such a project and organize the community is a hard problem, and again I wish them well in finding a good path.
Isn't that kind of horrible for the environment? The vast majority of pills do not need individual packaging.
The best estimate of R0 is 2.5, not hundreds.

https://www.cdc.gov/coronavirus/2019-ncov/hcp/planning-scena...
It's unfortunate that these "sexy" solutions get more attention than practical ones. Trash localized in a smaller body of water isn't much better than trash in the ocean, especially since a clogged up river will eventually start leaking trash. The most effective way to reduce ocean trash in the ocean is to build proper waste management infrastructure in developing countries. The only NGO I can find that does this is WasteAid.

https://wasteaid.org
I generally agree with the points, but have a few places of disagreement:

> Your interviewer is only open to solving the problem ONE way

If this is someone you'll be working closely with, it's a yellow flag, but the common complaint you read here about algorithmic interviews not being the best way to evaluate someone for a job, this really just tells you how good this person is at either that problem or interviewing.

> Consistent lack of interest or low morale from interviewers

Normally, I'd agree fully, and as an interviewer, I go in with a sales hat on over my technical hat. During covid, I have no idea how to read low morale.

> based in Palo Alto...a six-figure offer definitely didn’t seem like a bad start

This is table stakes for a software engineer in the Bay Area, now. Not sure why it was worth adding.
Except it’s not really deception - it’s just a true statement.

It’s only ‘throwing younger people under the bus’ if you use it to support a pre-existing narrative that he isn’t actually making.
Ask HN: How not to be pessimistic, helpless, and more
What has worked for you:

I've noticed that it's mostly the base feeling that dictates your logic and not logic dictating the emotion. Basically if you are feeling a certain way, i.e. helpless, your brain will find dozens of examples and create a very logically convincing story that would reaffirm your feelings by cherry picking certain events/facts from the past and concerns about the future. It's like a fog you can't see past at all until you are not feeling that way.

stuff like: avoid carbs to get used to low state, Write few gratitudes daily forcing good facts into emotion driven equation and messing it.

Qualities I'd like..

1. Be less pessimistic - or be more excited about things. I'm really considering fasting and dopamine fast. Maybe I've been overly stimulated that I no longer find anything exciting/worth it.

2. Be driven by the plan - not how i'm feeling. Omg seriously why the heck can't I just do what I think should do. It's like dealing with a baby who wont listen. But baby is also in control of your energy levels and focus.

3. Conquer myself - I feel I have violated every goal and promise I've made to myself. Like a ship with Math.random() inside a while loop, I've no control.

4. Stop being sorry all the time - I've gotten better in this category, basically it's reminiscing the past all day while completely ignoring good things now & not utilizing the opportunities now.

5. Not be afraid of doing - infinite ways things can go wrong. Paranoia has been helpful at times, but I'm sure it has also prevented me from even attempting many things due to stress of having to make something foolproof. It's not loss aversion more like aversion to being regretful, thinking requires time and I'm always backed up on thinking part.

6. Be excited about something for more than few hours - I get an idea, next day I don't give a shit. Facts hasn't changed. I'd rather just watch 20 episodes of something..

continued..
No because anyone that actually works with Java knows the difference between various Java implementations.
Several stocks have seen that kind of spike due to Covid, so it's quite plausible it was just Covid.

Sorrento (SRNE) went from $1.70 in March to $19 due to peddling Covid this and Covid that (currently at $7 with a $1.78 billion market cap).

Moderna (MRNA) went from $18 in February to $95 at the peak of Covid vaccine mania. At the top it had something like a $37 billion market cap, which is not much below Biogen's $44 billion market cap (Biogen has $14 billion in sales and $7 billion in operating income).
Things that have helped me..

- sleeping consistently at the same time, with air circulation and no noise.

- walking daily

- being in a social group where everyone is working toward the same thing. i.e. Startupschool, not the build sprint.

- not eating after 6-7pm -> sleep better.

- brushing teeth twice, surprisingly I feel way more positive, might be something to do with gums inflammation, I read a study linking gum disease with Alzheimer so this could be a thing too.

- Not being on reddit, linkedin, hackernews... news in general. Not because they are negative, because you're always in consuming state, never in thinking stage. State of distraction.

- audio books don't help.

- reading doesn't help.

- writing seems to help a bit.

- I read a tip in book saying that motivation comes from a fact that you are in control. So do things daily that take low effort and have an impact. It slowly builds up solid belief in you that yes you are in control.

- Traveling by a car to somewhere for at least few days.

- Watching or listening to a good long story till end.
The Good, the Bad and the ‘Radically Dishonest’
I'm writing a Swift project right now on my Windows computer using WSL, not paying anything to Apple...
Spam? Words have meaning. Spam is not normally defined as political commentary.

OK, you don't like the content. That's fine.

Did you get it in an unsolicited email, fax, text message, phone call, or other intrusive communication? Unless it did, it is not spam.

The video is worth watching. It's silent and short, probably animated GIF files, just showing actual stuff that has been on things like C-SPAN.
Six all-natural sex tips for men
Firefox won't do lazy loading if JS is disabled, because it doesn't want lazy loading to work as a fallback page depth tracker. If JS is enabled, all bets are off, so there's not much point in using lazy loading instead of just polling/intersection observer.
https://en.wikipedia.org/wiki/Angus_Barbieri%27s_fast

"Starting in June 1965, Scottish man Angus Barbieri (1939 – 7 September 1990) fasted for 382 days. He lived on tea, coffee, soda water and vitamins, living at home in Tayport, Scotland, and frequently visiting Maryfield Hospital for medical evaluation. He lost 276 pounds (125 kg) and set a record for the length of a fast."

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2495396
Yeah, I think there are reasons why a lot of big compilers use some recursive descent variant (even a few like gcc used YACC-generated parsers for a long time and switched back to hand-written recursive descent parsers) and error message generation is a big one.

IMO there's a kind of funny progression in which parsing approach turns out to be the most appropriate depending on the scope of your project that circles back on itself:

- For pretty simple languages a hand-written recursive descent is obviously easiest

- Once your grammar is complicated enough that you start hitting precedence and ambiguity issues, or get sick of rewriting a big chunk of your parser as the grammar changes, you look into generating your parser from a BNF-like specification and end up with some variant of LL or LR

- At some point your language's grammar has mostly stabilized and you're struggling with providing good error messages or parsing performance or you've had to add one too many hacks to get around limitations of your parser generator and recursive descent starts looking good again

For my money, I tend to think that Pratt parsing/precedence climbing can extend recursive descent in a way that makes a lot of the common complaints about the complexity of dealing with operator precedence and associativity seem overstated. The trick is just that as you're building an AST, some symbols will cause you to reparent nodes that you thought you'd already placed, according to various rules. See: https://www.oilshell.org/blog/2017/03/31.html

I wrote a compiler for a vaguely C-like language by hand in javascript a while back that's intended to show how simple a hand-written parser (and code generator) can end up: https://github.com/j-s-n/WebBS

It's not that hard to statically track type information along the way - the above example requires a second pass at the AST to nail things into place and make sure all our operators are operating on the right type of thing, but a lot of that information is captured during the first parser pass or even during lexing.
Live in a tech hub, get a good recruiter, say yes to everything. 60 is probably extreme, and a good recruiter would probably actually turn you down for this type of behavior, but it's def possible.
The reddit redesign broke my addiction. Their redesign is so disgusting and incompetent, it reminds me of countries that require explicit medical gore to be printed on cigarette cartons. Every time I have the misfortune of finding myself on reddit, it's as though I'm looking at a picture of a diseased organ from a dissected cadaver.
>Someone, somewhere at that company chose to hire someone... and they know what they want them to do. Why aren't they telling me?

This isn't necessarily true. As a counter example, I've seen team leads who claim they need to hire more engineers in order to keep up with workload. In reality, it's a process issue, but why put in the hard work of streamlining company operations, when they can just request more people underneath them. Not only is it less effort, but they also get to say "I grew the team 2x and now manage y people" which in turn increases their compensation.

It's a case of poorly aligned incentives: managers are supposed to do more with less, but their compensation structure rewards the opposite.
It certainly could. Countries do not have to abide by any laws, only the weak do. Sweden specifically is known to illegally extradite people.

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

https://en.wikipedia.org/wiki/Martin_Rasmussen_Hjelmen
Trevor Milton bought $1.3 million dollars of shares yesterday.
He's trying to keep the share price up to support the narrative that nothing is wrong
How Java counts CPUs in a Docker like world has changed multiple times since JDK8.

That might not sound too important but it has an effect on GC chosen amd obviously how you might have tuned your thread pools.
This is why I am in constant awe and deference to people with aethetic talent. Well done!
I refused to accept an offer quickly twice, only to find that the place was about to be bought and I would have gotten a payout if I'd have been an employee. As a new employee it wouldn't have been huge, but still it would have been nice
good lord. our budget is public; you can see we have some 30K in the bank, with $3500 income per month. We will not be wasting donors' money on a lawyer.
There are downsides to team specific interviewing. You can have situations where the team is desperate to hire someone and so they subconsciously lower their bar. It also leads to a less standardized interview process and introduces more bias in the process. The downside of course is you may not get the best person for the specific role/team.

Google and many other tech companies optimize for a low false positive rate vs a low false negative rate. They would rather miss out on good talent than hire someone who doesn't fit their mould of what an engineer should be. This can work for Google since most people want to work at Google and they have a steady stream of applicants.
here is a technical that explain exactly what happened

https://news.ycombinator.com/item?id=24483028
That could be due to several possible legitimate reasons in addition to the obvious. The key fee may have been set 20 years ago when 10 dollars was reasonable and not updated to cover labor and the deterrent effect for losing keys. When updating the new system, the cost could have been adjusted to keep up with the times. The new system could be genuinely more expensive to buy keys for (assuming like RFID) or require a more technical user to perform the update. Unlike metal keys that can be pre-cut often manual intervention is required to replace a dead key since there is a database association with the key that needs to be established. $50 is enough to be a deterrent and not enough to be considered excessive considering that replacing a car key can run over $200 for the fob alone depending on make and model.
I think it depends slightly. For the final version of your compiler you are entirely correct. But starting with something easier to write so you can rapidly iterate and experiment with your language until you are ready to worry about letting other people see it has value as well, then swapping your parser to RD.
Most kids could barely work the programs in my school let alone fix them. This almost sounds like OSS wants to use the schools to create future bug fixers.

Also there isn't a one size fits all criteria (e.g. use the best software, most popular, etc). My views on this are slightly different depending on the situation.

- Situation 1. The class is about teaching some piece of software (e.g. graphic design, 3d, video editing). In that case the class should put an emphasis on the common tools and techniques regardless of what program they use. And contrary to what one would think just teaching more programs does not help. I'm currently in a trade school and we have one software related class and although they are doing the correct thing by teaching us using a variety of programs, the kids still learn by memorizing steps instead of tools because this is how they've always gotten by.

- Situation 2. The software is secondary to the class (e.g. Teams/Zoom right now for virtual classes). In this case the easiest to use and the most appropriate for the job. In this case my school chose Teams and I think it's been a pretty good experience compared to the horror stories I hear about Zoom and custom implementations for exam taking at other schools.
By last sentence - you mean where I ask whether you have considered working for one?