skysight-inc/HackerNews huggingface dataset:
The app looks great. Dark mode would be nice though.

Tab to guess correct and incorrect would also be nice so you don't have to take the hands off the keyboard.

I really liked the multiple choice system Memrise used to have. This behaves too much like Anki. I actually don't like Anki because of how it works, and this app is more or less the same(?) However, there are plenty of people who love anki, so I think you will do well.

I would be more interested in the app if there was multiple choice.
I don't think I've ever craved braces in Python. I've had a few bugs due to indentation but that happens with braced languages too. If this is your preference just careful that Bython is supported into the future that you expect to use it.
Those are false equivalencies. The EU bureaucracy is a mess of competing factions. It isn't a corporation or a political party. A better analogy would be a US Government department breaking a law.

Ideally there are are legal avenues for redress in your situation. If there are not, that is more likely to be the problem than a conspiracy of propaganda.
If you want braces and hate whitespace, just use another language that has braces and ignores whitespace.
I think you can forget about using the loo succesfully if you can't even walk down the aisle without incident...
At that humidity level you can't cool by sweating.

We've had days like that in southern Sweden, near the coast with very high humidity.

I'm starting to go crazy over us not having ACs, and windows that are really hard to get working well with a portable ac.

Retirement homes celebrate getting ice cream machines, but still lack AC and the deaths during summer are significantly higher =/
Tabs are different to normal spaces though, so it would use 2 or 4 spaces instead of a single tab.
Probably also missing "starting point" - if you are already rich you don't have to work as hard to stay ahead...
Thanks for your earlier reply. I was honestly curious about your reasoning for the way you described it, and especially these days in which many things are branded as cures despite not being shown as such by something reliable.

You mention that only one limb could be targeted. Did they explain that this applied to one limb at a time or that it applied to only one limb period? The other reply states both, but maybe that's because of differences in procedure or clinic.
I'm a moderator, so I got the option to buy stock, I guess. I'll be purchasing exactly one share.
It's my understanding this was mid flight and not a situation where the seatbelt sign was lit. I believe the original commenter is suggesting that people wear their seatbelt at all times, if possible, seatbelt sign lit, or not.
(Which, as once a very frequent flyer, I do, others don't like to if they don't have to).
> Also, you have to deal with developer mistakes and what happens when they call incorrectly.

There is only one safe(ish) way to deal with programmer errors: crash. Hopefully loudly and early enough so it gets discovered in testing.
Well, the global system has a lot of mass. It'll take time to fix the things we've messed up. To survive in the interim while we do that, there'll need to be some harm mitigation measures.
It's quite incredible how hating men have been not only normalized but institutionalized in the last few years. Changing a single word in that kind of headlines would give a strong 1933 vibe.
I like the philosophy that “exceptions are for exceptional circumstances.” Not being logged in is not exceptional.
You can address this with explicit parameterization instead of global state. That way the missing data is an obvious type error rather than a surprise in the middle of a running function.
This is a great example of the issue with using monads and monad-like patterns in languages that don't have proper support via language constructs for these.

In rust for example, this is trivially handled with the questionmark postfix operator — which is just sugar for match — whereas in languages like JS and Java, stacking Optionals and so on can be rather painful as all this sugar is done manually.
You mean something like this: https://www.amd.com/en/products/system-on-modules/kria.html

Spartan is the glue-logic family for applications that either do not require any kind of CPU core at all or where some simple soft-core (MicorBlaze, x51, hand crafted state machine...) suffices.
Sounds like it’s actually “SQLite is enough.” With which I’d agree.
It saves you from having to write the null check code for other cases.
On Mac OS I use Sequel Ace for MariaDB/MySQL, it's a spiritual successor to Sequel Pro. Native UI. Works great. https://sequel-ace.com/
If only everybody everywhere voted for left-wing parties instead of right-wing populists...
The trend is the same and the point is the same: Growth has stalled in Europe for more than a decade (15% in 16 years...) while the US are steaming ahead.
They have signs showing when you need to wear seatbelts, so when the seatbelt light goes out, well, what are people _supposed_ to think?

I have noticed that it does seem to have gotten more common to just leave them on for the duration of the flight, in the last couple of decades.
While Latam airline, flight was actually Sydney-Auckland
With high enough heat, a fan will only make things worse, no?
NH doesn't get enough credit for how weird it is. Between the state motto, the lack of sales or income tax, and stuff like this seatbelt rule it's like we're talking about a totally different country.
I was bitten so many times by un-indented code, thanks to copy / paste that took me hours for figure out what was the actual problem.

I wish Python had closing...how do we call them, tags(?), clauses?

Anyway, here's an example of what I mean:

Before:

def IsPalindrome(s) -> bool:
for i in range(len(s)):
if s[i] != s[len(s)-1-i]:
return False
return True

print("Is Anna a palindrome?", IsPalindrome('ANNa'.lower()))

after:

def IsPalindrome(s) -> bool
for i in range(len(s))
if s[i] != s[len(s)-1-i]
return False
endif
endfor
return True
enddef

print("Is Anna a palindrome?", IsPalindrome('ANNa'.lower()))
Parse, don't validate is fantastic. I read it a few years ago and I still think about it quite often.
> My precedent would be Google Books, where a lawsuit similar to the ones we are seeing now shut down Google's plans.

What? Google Books won.
... And TBH the bigger smell is eminating from the explicit `null` returns. Next essay please.
Should it not be ”Live free and die” then?
I'm sure I'm not the only one that wondered and looked it up, so I'll share it here: Yes, it was a Boeing. A 787, to be exact.
Note that Typescript - the language of the examples - does have proper null through it's type system. A function that returns `T | null` will require callers check for null before using T.
Why wait until then? The loudest and earliest crash you can get is a failure to compile with a rich type system (obviously, when possible).
Automakers are sharing consumers' driving behavior with insurance companies
Back in the day it was common to use <form action="mail to:me@domain.com">. Then the spammers came along. My poor 10MB ISP mailbox couldn't take it.
seems odd that Japan isn't higher on that list, considering the reputation it has.
Yes, it's called a "false analogy", a typical informal fallacy.

There is nothing ridiculous about the fact that people-that-use-more-than-average (over-users: p>.5) are compensated by people-that-use-less-than-average (under-users: p<.5) to establish an average... it's called spread.
Except it isn’t. Returning ‘User | null’ in typescript is the same type-wise as returning Maybe<User>
This is no longer true.

Under PAYE, you'd take home 68500

With Ltd, on 100,000 the optimum approach is a PAYE salary of about 12500, which will incur about a 500 NI charge to the company. You then pay corporaton tax on the 87000 of 21750 leaving 65250. If you pay the 65250 as dividend, you'll incur 12500 in dividend tax.

So in total from revenue of 100000 you end up with 12500 (Sal) + 65250 (Div) -12500 (div tax) = 65260. Not better than PAYE.

Of course, the better approach might be to extract only 37500 dividends with a 3200 tax. The company keeps the 27760 residual and one day in the future you may be able to close the company and incur just 10% tax or £2776. This way you'd take home 71750.

Still better, you might choose for the employer to put money in a pension. Here, you could put 40000 in a pension, company profit now 47000 before 9000 tax. Pay the 38000 out as dividend with 3600 tax. You end up with 12500+38000-3600 = ~48000 plus a 40000 pension to be taxed at withdrawal (lets assume 20% so 8000) for about 23000, or 80k. This is the only way to approximate your 80k but a PAYE person could do exactly the same (with a friendly employer) for pension relief.

And the above is all outside IR35. It's worse inside.

The real reason Ltd is more profitable is based on all the hidden expenses of an employer. Rather than 30%+ of the customer fee going to employer expenses before they pay you a smaller salary, they now go to you as a business owner who can do much better than 30% business expenses (close to 0). You're trading that for paid time off, job "security", not chasing leads, etc.
The incident happened while still on the Sydney to Auckland leg of the trip, which is not as lonely (but yeah, still not a whole lot of planes going each way).
a) All sorts of shitty code and text formatters will ignore or clobber whitespace.

b) When reformatting code like

for a in x:
f(a)
if something:
g()

you're liable to make a typo and commit a grave logic error.
Sound like the explaination reason for our current POTUS being rare kind of idiot?

Anyway what is the DOI of that research (or anyone got the direct link?). I like to read through than being summarize by nbc.
Opinion: The actual hidden truth about UFOs
Sleep underground during the day, crawl out at sunset and work through the night
It goes on to say:

> The EDPS has also decided to order the Commission to bring the processing operations resulting from its use of Microsoft 365 into compliance with Regulation (EU) 2018/1725.

Which, to me, reads like they can keep using Microsoft 365, they just need to work with Microsoft to bring it in compliance.

So my guess is your second interpretation.
One set of outrageous if solicited questions to a living legend seems enough for one day, and I'm very aware of the amount of non-public, first-hand knowledge I'm addressing here, so please take this in the highly respectful spirit in which it is intended from someone who recognizes that their entire career and adult life have been shaped by your and pg's achievements.

I do not find it at all obvious that either a trillion dollars in private investment or aggressive lobbying around regulation favorable to a particular for-profit entity are necessary or even possible paths to outcomes that are globally good for humanity or locally good for the community of people who spend time in threads like these.

I don't think that I'm part of a small minority in finding those means very dubious ways to accomplish things, the ends to which those means are being put of questionable public-mindedness, or the secrecy and apparent subterfuge with which this to all external appearances is being done acceptable ways to wield vast power.

I don't know if you'd make this argument, but others have when arguing for the same outcomes, so if I'm addressing them and not you please excuse me: we have institutions with a mandate from the public to deploy wartime budgets on Manhattan Project-scale undertakings attended by extreme risk. This cannot be ethically, morally, or legally delegated to unelected and unappointed individuals or private for-profit institutions via what was once called corruption.

Clearly I speak only for myself, but many others with far better credentials are saying similar things, in many cases much more stridently.
Yes correct! I should've written "shrink to 70%" or something like that. It was a thinko.
IIRC Rich Hickey says something similar to the "pipeline-oriented programming" piece in his talk about systems: https://www.youtube.com/watch?v=ROor6_NGIWU&pp=ygUccmljaCBoa...
Smol nit: immigration means moving into a country. In your example we'll see a lot of emigration, people moving out of the country. You emigrate from one country and thereafter you immigrate into another.

Mnemonic: IN=IMmigrate, EXIT=Emigrate
Building an Open Source Decentralized E-Book Search Engine
That the capability exists is well documented. See the Pegasus spyware that many governments have used.

To what extent it is used against particular targets I'm sure is quite secret.
What an ugly yacht. Having pretty much any helicopter on that would improve the appearance.
Yes I have it fastened all the time too.

My point was the fact the "fasten seatbelt sign" was not lit in the middle of the flight makes people think it is OK to not have it fastened. Which isn't true.
A passenger says the pilot says that. I’d wait for further details before firmly concluding that.
If you are working on this specific silly use case. What is the point of this article?
> The model contains a copy of the work, and you can't distribute or publish your model without violating copyright.

Does it?

And if it did, why wouldn't fair use apply here as much as it would apply to the actual training/SaaS offering?
I first thought this was trolling, but reading some reactions here and there it's probably not.

I love how concise and clean Python looks. I would rather see other languages removing brackets.
So Cloudflare suggests there are two ways of doing timelock encryption: you can rely on some proxy for the passage of time, such as repeated hashing; or you can rely on one or more trusted agents.

I don't think the 'proxy' approach is timelock encryption, because it doesn't actually rely on the passage of time. Cloudflare is relying on a network of trusted agents that 'tick' at a predictable rate.

I think I wouldn't want to rely on this network of trusted agents to preserve a long-lived secret. There's no guarantee that the network will still exist when it's time to reveal thw secret.

Is there a way to do timelock encryption that doesn't involve reliance on a third-party, and that really depends on the actual time, rather than on a proxy for time? I cn't see it, but I'm not very clever.
Or maybe this is a high profile incident planned to keep the globe-head charade going! It is notable that the flight didn't actually go to Santiago in the end ...
Rethinking how we approach code reviews
Europe in general needs to get with the program. The States have AC'd everything - busses, elevators, train stations, etc.

Ice coffee in Europe is not a thing! Ask for it and you will be looked at funny. And even the "cold" drinks from the fridge in a store are just below room temperature.

I don't get it.
> Property existence: key in object, typing `key?: T`

i have no idea what that's supposed to mean. Presumably you're using a TypeScript-ism?

> JSON: got it completely wrong.

Agree with it or not, it's what we have.

Having implemented several JSON parsers and reformaters, i wholeheartedly with every one of JSON's design choices, including the lack of specification about integer sizes. Douglas Crockford did it exactly right, as far as i'm concerned.
It does mean that after entering that road you aren't allowed to turn around and go back, so there is a bit of a mandatory aspect there. Nevertheless I think it still fits best with the informational signs, also to separate it from the white arrow on a blue circle.
While there was most definitely South Americans on that journey, having made that flight myself I can honestly say it would have been well over 50% Aussies on their way to NZ, Santiago, Buenos Aires etc.
The programming equivalent of "First world problems"
Oh wow, that's terribly confusing.
"They" in this case is a national authority within a EU country. They are responsible for handing out tax payer's money as subsidies to political parties, and the political parties have to declare and account for how they used this money. The authority refused to give out these declarations, saying it would break GDPR laws because they might be backed up to an American server. Of course it is blatant mis-interpretation of the law, but this is how these laws and other laws get applied in reality. Used when they benefit the rulers and ignored when they would benefit the population.

In the US you don't have this kind of financing I believe, because your political parties pay for themselves by endless fundraising from their voters.
Same for Windows server... but it's probably too expensive to use it as a desktop OS
People from Middle East and Northern Africa who have been living in harsh conditions for the last several THOUSAND years send regards to all climate change researchers.
To me it says "we'll never succeed at making fewer disasters given how we've done so far, so we better learn to handle them better."
I've deployed this on my server, and I have to say, it's incredible. I've been looking for an open-source alternative to Airtable for a long time, but none of them met my requirements.
https://www.netflix.com/title/81092697

Available in 33 countries: https://unogs.com/movie/81092697/lords-of-scam
I flew many times between South America and NZ/Australia (and once from LA to Sydney, one of the longest flights you can get), including this exact flight, and find that's hilarious.
I don't think its really that simple. What you describe is that, effectively, racism is little more than inaccurate data or interpretation when the data is broken down by race.

The historic problems with racism all boil down to intent as far as I can tell. The real problem has never been whether stereotypes are accurate and backed by data, but whether someone furthers a stereotype out of ill-intent against specific races.

Data itself doesn't have intent, and judging an LLM response without understanding why it says what it says doesn't have enough context. We can't really distinguish whether LLMs have somehow independently developed racism (which would be a huge concern) or whether they are just interpreting training data and answering prompts in a way that the reader ultimately decides is racist for whatever reason.

It almost feels like a quantum physics paradox honestly. An LLM response is just text until a human reads it and decides if, when isolated, the response itself is racist.
Is it a plot? It's an event that happens in chapter 1 and paints a "this is what will happen" scenario. The whole chapter is available here: https://www.orbitbooks.net/orbit-excerpts/the-ministry-for-t...
Unashamed to admit my first action on the comment page was to Ctrl-F for 'tribute'
New ideas might make active shielding viable
I agree it's silly, but sometimes ideas or POCs are silly but worth shipping.
Don't you agree?
> As with all laws in Europe, GDPR has a chief purpose to be abused by the rulers and used against the public and the public interest.

As with all gross generalizations and simplifications this is false. As in: the issue is more complex that you make it out to be
I think the parent is more worried about the dirtied aspect.
Instead of considering what I wrote, you've shifted your position to it being a game, that you "win".

This is not the kind of discourse I come to HN for.

The biggest choice you can make that has an impact on climate is not whether or not you own or drive a car, or where you live.

I have made that very big choice in favour of lessening my impact on the climate and ecosystem which I love, and I am at peace with it.

But nobody wins: we both lose.
Reddit: Return of the Junk Stock IPO
Don't worry about 16 lobbyist, I'm sure the oil industry can put them to use no problem.
The point is that at some sufficiently high humidity, fans and wet rags do not help any more, at all! Combine that with sufficiently high temperatures, and it's not survivable. And will kill people with weak circulatory systems (i.e. the elderly and babies) quite a bit earlier.
Or the hysteria was overblown, and we instead sabotaged an opportunity for many of the people living near the equator to become more prosperous.
Oh I see, I misunderstood what you meant, thanks for clearing that up.

There was a talk [1] at Devoxx 2023 by an Oracle which gave an overview of the current state of the UI ecosystem, and it wasn't too bad, though it seems like it's mainly JavaFX these days. Support for fractional zooming on HiDPI screens on Linux is still shit, unfortunately, which is something that drives me nuts.

[1] https://www.youtube.com/watch?v=Afehjldx4yM
how about mini hearts as a gift to your loved ones?
So are FDA inspections, housing inspections, etc., etc., I guess.

On a less snarky note:

>Peer reviews can be done asynchronously after the fact

This assumes that the author of that code will go back and address any code review comments. OP seems focused on shipping fast, which is fine, but I would bet that this means that any review comments that don't find showstopper bugs don't get addressed - after all, why fix nuts in something that's shipped and not broken? That's a tax on productivity!

I think people forget what taxes actually do for us.
Wouldn't be the first time.

https://youtu.be/xPxs0Qh72kY
It's more like a percentage increase: the number of employees (P) is proportional to the machine-like state (M) of the corporation as a rough approximation.

M = aP

Where a is a constant that depends on the overall state of society, how capitalistic it is, how much regulation exists, etc. And then we could say M itself is proportional to the probability that various inhuman actions will be undertaken (where of course the probability is suitably transformed to make sense being proportional to an unbounded variable).
I think the seatbelt-sign is outdated. Somehow it should be made clear that if a sign is on, it is not allowed to stand up and move around, and the general rule is that the seatbelt must be locked while sitting.
>The Barbie movie, which I just saw 2 weeks ago on my TV was clearly a better movie on I'm pretty sure every aspect, and you could tell it was in the first minute.

And I have the exact opposite view! hah

The Barbie movie felt like a series of clips to me. Not a coherent movie. I also dislike musicals, so maybe personal.

Also despite Oppenheimer being about The Manhattan Project, The Barbie movie felt "too american" for me with weird Twitter references to "The Znyder cut?". (How will that reference age in 2 years?)

Oppenheimer just feels like expertly crafted cinema. I truly got lost in it and the story. The first 20mins felt like 1h in a good way. Truly masterful.
for a function called "getUser" it is.
Brisbane checking in. Wish we were near the coast.
:(
Fern (YC W23) is hiring a deployed engineer in NYC
* East Germany is poor. Ruhrgebiet is poor.

* German manufacturing is struggling because of their reliance on cheap Russian gas.

* German car industry is struggling because they can't compete with Chinese imports.

* Germany is still in a recession.

Germany is not wealthy today because of some remarkable labor productivity (as the tweet suggests). It's because Germany was a manufacturing powerhouse in second half of the 20th century.
Unison: A new approach to distributed programming
Oceanic hydrothermal vents teem with anaerobic life which uses a lot of interesting chemistries instead, e.g. based on sulfur.
I have zero confidence in that working without side effects worse than the disease.
Cubicles are not as dense as the open office plan we use. Our desks are about 1.8 office chairs wide, never seen a cubicle that small.
You might be already aware of this, but besides using the backslash, the other way you can allow an expression to span multiple lines in Python is to enclose it in brackets. I find this to be pretty unobtrusive. Often your line break will already be within a pair of brackets anyway.