skysight-inc/HackerNews huggingface dataset:
Ask HN: Who recovered from bad sleep problems?
It’s now been almost 8 years that I’m not having proper amount of deep sleep, not insomnia, just poor sleep quality. And I‘m tired of trying things that actually don’t work (good habits, healthy life, sleep restriction, medical analysis..). So who actually made it through this and how ?
Cuphead Developers React to 23 Minute Speedrun
if you care about lost updates you should use transaction or at least an API that support optimistic concurrency control.

Posix File system API don’t offer much for concurrency control other than lock.

In my line of work we use HDFS or AWS S3 as “filesystem” so we are not using the OS file access API at all and most File are append only by a single server.
So maybe Israel is irrelevant. They're a US puppet state, though, and the US could pull those strings.
It won't happen all at once. Linux already coexists with Windows through WSL and virtualization. The real work is in porting the APIs that the core MS products make heavy use of (DirectX, .NET, GDI, etc.).

The old Windows kernel will run in a hypervisor as needed. Windows already takes advantage of virtualization for everyday programs for security purposes. It wouldn't be that much of a shift to virtualize the kernel too.

More and more of the MS stack is being ported to Linux, seemingly in preparation for this. As of recently you can run PowerShell on Linux and run .NET "Core" on Linux. Since Visual Studio and Office are all .NET, if the Windows graphics/GDI layer is also ported to Linux, then it should be possible soon to build Microsoft Word for Linux.
> Both of those seem (IMHO) like functions you could have in a TCP library. Neither seems (IMHO) like a higher level protocol.

It's responding to the last part. It is a higher level of protocol. In the traditional TCP/IP model, it's in the application level. There are many libraries with an API like you asked, they are just in a higher level.

(and TCP_WAITALL is a partial solution, applicable only if you know in advance the exact size of the message you are about to receive)
Thanks for taking the time to share. It’s appreciated.
When it comes to syntax, it's always a personal feeling. For instance I always found Rust syntax much easier to work with than Go's (which looks really alien to me, with both var and :=, the type annotations which are C's but backwards, the syntax for structs methods, the several for syntax, the defer statement, etc.)

Actually I don't really understand why some people complain about Rust syntax. The only alien thing is the lifetime ('a) syntax, but you don't need it that often, and the concept behind it is way more difficult to learn than the syntax itself (and it's where Rust's breakthrough comes so you have to learn this concept anyway).
>>The 34th stanza is the 33rd stanza written backwards, with a different meaning. Finally, the 27th stanza is an example of what has been called "the most complex and exquisite type of palindrome ever invented".[19] It may also be thought of as a syllabic Sator Square. Sanskrit aestheticians call it sarvatobhadra, "perfect in every direction" — it yields the same text if read forwards, backwards, down, or up:

It is instances like these when I utterly regret my school not having offered Sanskrit back then. Now I highly doubt if I would ever get the opportunity to learn this beautiful language, ever!

Fun fact → In the '80s, a NASA engineer discovered that Sanskrit can be a more viable language in NLP than any formally defined programming language[1] courtesy its constrained grammatical states (to coin a phrase)

Ref.

[1] https://www.aaai.org/ojs/index.php/aimagazine/article/view/4...
I'm in Australia, so the choices here are also a bit limited. Also, I'm less interested in equities. In the CFD space, my shortlisting technique now is basically "do you offer cTrader", because as mentioned above, this means they have a FIX endpoint.

Broker offerings here seem a few "paradigm shifts" behind the US. Zero commissions are unheard of last I checked. Also, if you approach some brokers here and ask for an API or a FIX endpoint, you're either told to go away, or you're effectively ushered into a luxurious room, poured some exquisite scotch, and asked about how many millions of AUD you're looking to trade per month. And _then_ told to go away.

Edit: disambiguate "Aus" :-)
At one point the idea was universities were supposed to produce well-rounded citizens, exposing them to liberal arts, different points of view and what not. But now it seems more to get a good job, which calls into question the entire setup. Wouldn't trade and tech schools or internships be better preparation for a career if that's all society cares about now?
neither is it small change for the workers...
It kind of does, specially if you don't take care with ConfigureAwait().
> because posix threads were much faster than the previous implementation of green threads.

Green threads employed only one kernel thread so couldn't take advantage of multicore, and at the time Java relied on native code so much more than today.

> but in some alternate universe maybe we could have got here without os threads

Maybe :)

> But now we’re moving back to green threads - at much greater effort, 20 years later

These aren't green threads but M:N, and I don't think it's a much greater effort than the effort that would have been required to add it to HotSpot back then.
I always just figured it was programmer speak and used it accordingly.

English speakers seem to have this weird idea that all people need to use language that everyone can understand.

Other languages tailor their speaking patterns given the class, context, and people around them.
The JVM is fast. (though I'd say the best thing about the JVM is the amazingly large test suite it maintains). I think he was alluding to the fact it is much easier to develop predictable systems in a language that forces you to deal with the constraints up front. - i.e.: writing your own memory allocator for custom pools knowing exactly the latency, throughput, assembly generated for it.

Not to mention that a lot of libraries that are immediately avail for c++ (see io_uring) take a while to get ported to java. The cost of JNI for a libaio wrapper is also expensive. Last i bench(few years back), switching to a crc32 with JNI switch alone was 30 microseconds - an eternity - before doing the work.

In any case, we use seastar (seastar.io), which I'm not sure can actually be ported to java. The pinned thread per core makes a lot of sense for minimizing latency and cache pollution, etc. Externally, the feeling that apps in java are slow is real, less because JVM is slow per se, but because writing low latency apps in java is not the idiomatic way and those that do see to extract every ounce of performance of the hardware often look else where since the work is just about the same.
Is the lag on V1 really that slow, or is it because it's struggling to run Linux UI?
JS didn't have a pad method in its standard library, so you needed left pad to do that. Now you have padStart, so it's not really necessary.
History goes in spiral. After everyone will be fed up with flat style, someone will release gorgeous super-realistic skeuomorphic UI and everyone will praise it.
allowing people and companies to make their own choices about their own well-being

... Like Mary Mallon did.

https://en.wikipedia.org/wiki/Mary_Mallon
For anyone that comes across this: they only have 4 data-centers, and the first out out side of the US was in Europe asof EOM august 2019[0].

[0] https://www.backblaze.com/blog/announcing-our-first-european...
It gets better thanks to UEFI, since it provides serial-safe approach for system management.

IBM PC compatible systems had no serial console and it shows in abominations like some Intel RAID controllers that required mouse to get through their graphical UIs. Even if you used one of the special "UI-over-serial" cards that were used on some PC servers, lack of support meant that it was perfectly normal for some option from to expect bitmapped graphics and want to use it :(

With UEFI providing a basic UI framework that covers all that firmware needs (and which still allows for fancy looking UI if you connect to framebuffer) serial console is back in use :)
To run a Java jar-with-dependencies you only need to `java -jar app-with-deps.jar` which isn't really that hard at all.
Shopify has market cap of $82 billion.

Is it sustainable?
Oh you can use those tools with private repos?
Then Leifcarrotson's claim that it "it explicitly and thoroughly debunks the idea that race was a factor" is false. Just because something agrees with your prejudice doesn't make it a good argument. It just means it feels satisfying to believe it.
Voila! (it's under 'examples/REPL'): https://gitlab.com/eql
Universities are and always have been expensive.

This cost was hidden in the US and a lot of Western European countries by extremely generous government support. Now that this is going away, more so in some places than others, it sounds like people are suffering from sticker shock.

Is this a fair indictment of the modern university? There are definitely ways to lower the total cost of higher education, but how much I don't know.

Edit: To be clear, I'm not arguing that there's anything ok with 50k-70K annual tuition. However, there is a spending floor that has to be met to fund an "ok" no-thrills research university.

Examples: KIT, a very good research university in Germany, spends about 35K EUR per student. I wasn't able to find a source, but I remember reading that the University of Maryland in the states spends about 20-25K USD per student. Fu et al., 2019 quotes about 390K NTD (~13K USD) as the average per student spending in Taiwan.
Another Lockdown Imminent in Lagos, Ogun, FCT
And then you got customers in another timezone and suddenly you're in a big mess.
I think it was a joke (an attempt to start a classic flame war with a classic argument)
People who don't like Rust like to point at Zig as an alternative, but as long as it's developed by a single guy and there's a lot of breaking changes at each release, it isn't really an option. At this point this could still change a lot and even add a borrow checker! (Rust didn't start with it, it used to have a GC back in the 0.* releases)
They haven't remained silent, they've been silenced. Slight difference.

I got slammed on here for even raising the question.

The silencing, call out culture in this industry sickens me more than anything about this particular instance of it.
> it also can simultaneously be not OK for you to publish it in a package directory with a generic name and a description

Package repositories can be open to all developers or curated by software distribution maintainers. Being able to publish an open source project without dealing with Linux distribution maintainers is a major selling point of programming language package managers.

Why even let people publish packages if they're not meant to?

> it is totally their fault for deploying something without carefully reading your code to figure out that it was a bit shitty beforehand... but should they really have to do that?

Absolutely. Using someone else's code means implicitly trusting them. Everyone should at least check out the package's source code for quality, sanity and signs of maintenance.
Osherove Covid All in Free Learning Bundle for Software Developers
Rain and PulseLabs Analyze Voice Utterances During Spread of Covid-19
Nothing in there even suggests that race wasn't a factor. The very fact that you listed multiple factors admits that multiple factors may have combined to cause it. It could just as well have included race too.
Plus $1500 per annum taxes
The proprietary API is guaranteed to be slower. The brokers must send order flow as FIX to the exchange. This adds latency of however long it takes the broker's software to translate to FIX. I don't think there are any successful quant strategies that don't rely on speed, so basically anything with a proprietary API is solely for amateurs.
Complaining about Google sunsetting consumer products as a means to disparage their technical contributions to open source software is incredibly trite and a very tired meme.

So, so much of Google depends on Go. It is extremely well understood, has an excellent track record and has zero chance of being "abandoned"
Interesting, because what happened to Clovis in N.A. is a big question. Heading south because of a much colder climate (13ka-12ka) would explain a lot.

"Ancient DNA reveals two unknown migrations from North to South America"

https://www.sciencedaily.com/releases/2018/11/181108142421.h...
Customers? He works at the University of Toronto.
good question - great links.
I'm sorry you feel this way, but I do not think this is true for most creators. Too many of my friends have made wonderful things for the sake of it. And they're so self-effacing, they won't even mention these things.
Knowledge Representation in Sanskrit and Artificial Intelligence
I paid zero for my university since EU, but I still kind of feel scammed out of five years of my life. I got a degree only because I was young and family/friends pushed me into it since "that's what everyone does".

The networking thing, meh. Maybe if you attend the top 1% of universities that have some barrier of entry for people who're actually talented/determined to achieve a goal and care about what they do. Or expensive private ones with industry connections. Which feels a bit like "easy mode" but whatever :)

But in the average public university most students you meet are just coasting through it as if it was high school, or as a way to delay real life. Professors just don't care and they never have time. Even the job placement events, it's all a bullshit perpetuating machine.
how does Alpaca make money?
Barista jokes aside, in my experience people studying English, etc. are doing something they enjoy. Their expectation is that their BA is merely a credential to get by the gatekeepers for the millions of jobs that require a college degree but really have no specific use for one.
Having clocks around for local and UTC and CET and EST/PST and JST means you internalize the offsets really quickly and get a good feel for the ball spinning in space. Make it so that whenever you see your local clock, you see all the clocks.
I worked on a project recently which had Kafka in it. Our first order of business was to completely remove it. I would bet good money that many projects on Kafka would benefit tremendously from simply removing it. It's wildly unnecessary in 7/10 situations I see it employed.
No, boycott Safari. Just like the successful IE boycott on Windows.
I feel like this is just a coincidence. The UK is a collection of islands too and isn't doing very well - the only land border they have is with another part of an island... Ireland.

Germany which is doing much better has land borders with 9 (?) different countries, of which most are still open for commercial traffic.
If you need a refresher on the perils of ethical AI, Asimov's "Three laws of robotics" stories are as fresh as 60 years ago [1].

I'd like to remind that humans themselves are not that good at ethics, both in philosophy and in daily life; they are worse yet on agreeing what ethics to adhere to. You can imagine how well it could be automated then.

[1]: https://en.wikipedia.org/wiki/Three_Laws_of_Robotics
I also just found https://hatchinvest.nz/ - has US market access, I don't know about an API
I work in hiring and people/performance management. In my experience, people with a formal education in average outperform the ones without. There are outliers on either side of course.

We investigate the reasons for this but so far couldn't pin point it to anything specific.

We too don't look at degrees when hiring, but we do see a correlation of education and promotions.
> One way to make the system more ethical, that is less descriminating based on certain features like race or gender, is to often lower the threshold of acceptance for the marginalized classes and raise it for the other ones.

Or don't input those values at all. Is it even legal for a human to take those things into consideration? Regardless, the AI morally shouldn't, so there's no reason for the data to even be in the input.
This is a repost of a banned submission:

https://news.ycombinator.com/submitted?id=podestapizza

https://news.ycombinator.com/threads?id=podestapizza
Here is an idea that I've always wanted to do, but will never have time for: A curated search engine.

Basically the idea is to have people band together and "recommend" links. You then do your normal spidering of the websites to create a search engine (or even just call through to a number of existing search engines). However, the ranking of the results is based on the weighting of the recommendations.

It's essentially a white list based on your own personal bubble. Of course this won't work in general because you will always get SEO creeps spamming recommendations. However, it gives you tools for working around those creeps. The average person probably won't be able to manage it, but power users probably will.

By not trying to solve the problem for everybody, it makes it easier to solve to problem for some people. Or at least that's my thesis :-) I might be wrong.
G1 the default allocator returns heap to the os only when you set -G1PeriodicGCInterval and both ZGC and Shenandoah do it automatically.
which is fine for retail traders, often resulting in execution improvements in dark pools etc. its amazing to me no one questions no commissions but trading equities is decentralized garbage anyway
Seems overvalued imo
Doesn't really fit your 'outside any UI framework' requirement but there is http://reactdesktop.js.org/

Does a pretty good job at mimicking both Windows 10 and Mac OS. If there isn't a CSS framework someone else can link you to then you could either just use react (providing it's a project where that sort of decision doesn't affect anything) or attempt to take the CSS styles from this project.
Typical discrete logics designs were much larger than the Gigatron. So they're not the same. Using 74LS the single board draws 2.5 W.
Can you please add Treenga to comparison? It is more like simple issue tracking, so very far from, say, Jira, but may work as a replacement for Trello for simple task management. This is my recent project, would be happy if you share your feedback.
This seems to be a limitation of the tool, yes?
Hey there! We use the following setup for our blog (link in profile if you're curious). I did a lot of research on this setup and think it's one of the best stacks to use provided that you're technical:

- Our site is built using the static site generator Jekyll (https://jekyllrb.com/docs/). We use the Hydeout theme (https://github.com/fongandrew/hydeout) + some additional CSS styling, but you can really use anything.
- Gitlab pipelines for continuous deployment
- GoDaddy for domain management

Pros:

- Fast out of the box.
- Simple to get set up (on the order of hours to get production-ready with full CI/CD!)
- Flexible (you can customize Jekyll all you like if you know a modicum of CSS - tons of control).
- Managed and versioned in Github, collaboration and updates are a breeze.
- Free

Cons:

- You need to be technical, but that's probably not an issue for the HN set.

We tried Medium and Blogspot as well. Medium looks great but the ecosystem is somewhat hostile, and Blogspot looks ultra dated. Wordpress is probably great if you're a Wordpress expert, but for us as engineers it was actually easier to just use Jekyll.
Try to find an activity you enjoy. You will never keep up a sports regime if you don't enjoy doin it. There are so many different effects in long term health, that the specific sports/exercise won't matter.

Also, consider this: Imagine you look back at your life, having spent countless hours on running, and never enjoying yourself.
Kind of sad to see this collection move so far away. Some of those records were almost certainly very rare. Too bad Seattle's alternatives have taken so many lumps in the last 15 years.
The Front Page of The New York Times with Art and Colors
As Taleb say, if something has survived thousands of years, it's likely to stick around for the same. It's what's called as anti-fragile.
Air travel is important. Airline companies are not.
It doesn't need a large memory if remove the video, or if you change it to B/W.
Universities waste way too much money on fancy food, extravagant halls, amazing experiences.

It's like an amusement park for adults.

Go walk into one and look at all the things that have nothing to do with learning. Go count how many fancy restaurants they have.

People go there for the experience, and it costs.

They should instead be about learning. Have your experiences later in life, or just independently instead of expecting the university to do it for you.
So you agree that there is no obligation, then assert a set of social obligations that should be respected.

Do you see the contradiction here?
My laptop is a €500 bought in 2012 (it has 4Gb which is the minimum of every laptop since around 2010), and it runs rustc fine. Of course I'm not going to build a release version of any big project on it, but I won't be able to build Firefox or Chromium either on it.
I'm sure there are ways. But can you ensure this specific app, recommended (or mandated) by your government, puts you in control and doesn't try to sneak a quick one past you? What would be the incentive for your government to ensure that instead of making the population much more observable and thus governable under the guise of taking care of your health? It's literally doing work against government interests, and the governments aren't usually very good at that. Same with major companies which just happen to be also major accumulators of stockpiles of tracking and surveillance information about you. Maybe this one they'd lay down their instincts and truly will roll out a perfectly privacy-preserving solution. But could you trust them to do that?
Even though you don't like to do an addition, I think you must use UTC on servers.

It is for example better to use the UTC timezone when you complain to your cloud provider with a support in another timezone.

It can also help to find poorly developed software that ignores timezones before it's too late.
Crescograph
FIX is just a protocol template. Vendors will make non-standard extensions to it. For example: OCO you send to CQG won't work with StoneX.
Boiled Cassava with Crispy Cassava Chips
p99 latency.

No startup times of course. This is for pushing a simple 2 petabyte workload.

No AOT compilers, just download kafka bin distribution 2.4.1

Just launching 6 or 7 of these.

bin/kafka-run-class.sh org.apache.kafka.tools.ProducerPerformance \
--record-size 1024 \
--topic sfo \
--num-records $((1<<31)) \
--throughput $((1024*64)) \
--producer-props "acks=1" \
"client.id=alex.client" \
bootstrap.servers=172.31.31.28:9092 \
batch.size=81960 \
buffer.memory=$((1024 * 1024)) &> ~/nohup1.txt &
60-80 Hours/Week
I recently spoke with a CEO who told me that their team is "all in" and spending "60-80" hours/week on building out the product. I thought this was fringe or a joke. Are early stage startups really doing this? I guess the answer is yes, but seeing this up front made me ill. There's no reason for it, and I doubt it produces better outcomes than sustainable work. I am willing to work difficult hours when there's obvious value at the other end, but what are people thinking advertising this as their company's current values? I'm obviously biased, but it seems skeevy techbro at best. How are seemingly well-intentioned individuals being led to believe hours are in any way equal to the value being created?
While I hope never to work with it, in what concerns the tiny set of PHP files on my web site, it is alright.
World Ships: Feasibility and Rationale [pdf]