skysight-inc/HackerNews huggingface dataset:
As someone with a background in Objective-C, Swift, C++, C# and Java, and currently using Ruby, I'm looking for my next language for web development. Elixir sounds like a step up from Ruby, but I really miss static typing, and I find it hard to justify investing time in yet another language that doesn't have it.

But what are the alternatives? I'm looking for something with static typing, good editor support, mature community projects (e.g. testing on par with rspec), faster than Ruby (though most statically typed languages tend to be) and if it supports some functional paradigms that could be a plus (I dabbled in F# and SML previously).

- Scala is an option, but build times sound like an issue, and the JVM is a bit 'heavy' (e.g. startup times, min memory usage).

- Haskell sounds cool, but maybe a bit too esoteric? (i.e. is it worth the trouble, does it have all the middleware I'm used to)

- C# could be an option, but is the open source/community support there? (if you're not a corporate shop, doing corporate things).

- And then there's Rust, which I'm fascinated by, but I'm also worried that I'll be less productive worrying about lifetimes all the time, and that it's less mature (though growing fast, and seems to have attracted an amazing community of very talented people).

I'm also interested in ways to use a language like that in the frontend - Scalajs sounds pretty mature, C# has Blazor and Rust seems like one of the best ways to target WebAssembly.

So what is a boy to do? Stick to Ruby until the Rust web story is more mature? Try out Elixir in the meantime? Join the dark side and see what C# web dev is like these days? It can be really hard evaluating ecosystems like that from the outside.
Same-machine determinism is probably not too bad, and would greatly aid debugging; cross-machine determinism is mainly really useful for lockstep multiplayer I think.

But yeah it wouldn't really matter in-game unless you're trying roll time backwards/forwards as a game mechanic.

Also of note, all games can be considered simulations, with varying complexity and rules (and players given a way to interact with the system) -- from that perspective, the only requirements to implementing a game simulation is whatever is required to implement any game.
Honestly, I have better things to do with my time than edit text

honestly, i have better things to do with my time than to configure my apps.

i would sooner switch to apps with better defaults than take the effort to configure one i have.

editing text or code is the bulk of my work. i don't have better things to do than editing text, so that better be efficient. but if the default setup of an editor doesn't already provide that efficiency then i am not really interested.

this doesn't mean i am not willing to learn shortcuts that already exist, but i won't create new shortcuts. i don't use shell aliases or functions either (unless a task is complex enough to write a script)
We live in clown world.
Maybe we should shame large companies like EY when they are late with paying their bills and trying to force their own paying rules on you as a contractor. If my invoice needs to be paid in 14 days you don’t change it and say I only pay every 90 days and get all angry when you charge them interest as agreed in your terms and conditions.
Yes exactly. They rode that Armstrong/livestrong/US postal/discovery team pony for as long as they could, as hard as they could, as long as it kept selling bikes and provided a huge benefit to the bottom line.

Trek also managed to take the brand name licensed to them by one of the people who can reasonably lay claim to the title of "inventor of the mountain bike", Gary Fisher, and run it into the ground.

Other major brands are almost as bad. Giant was the sponsor for the T-Mobile team of the late 1990s and early to mid 2000s in the Jan Ullrich era, which was just as rife with organized doping. They knew full well about the doping allegations (also all later proven and admitted by the team members once retired) and did nothing as long as the financial figures looked good.

Every single sponsor of the uci protour teams from 1990 to about 2015 knew how absolutely ingrained systemic doping and cheating was, and continued to funnel money into the western European Continental cycling races and team corporations.
There's two ways of pronouncing it, both acceptable in Mandarin. In English they would be something like: "naugh guh" and "neigh guh". The latter pronunciation is the one under discussion.
And suddenly the president's call to defund universities for "radical left indoctrination" sounds a tiny bit less crazy.
I remember noticing in China that it seemed very common in Chinese casual chitchat, but to Western ears it sounded inappropriate. In the context of a lecture, I imagine it would come down to whether the delivery seemed genuinely part of the point or an excuse to push boundaries. Hard to gauge without audio/tone.

I can’t think of why you’d report this unless you had a serious issue with the lecturer or they were being purposefully inappropriate.
>1. Just look around you: Where do you see bigger than 300mm^3 (around the maximum size of common FDM printers) plastic objects? Barely any. Larger single-piece objects (or parts of them) are made from metal, wood etc.

The guy (NAK3DDesigns) who created the design the Creality Ender 30 is based on is exclusively printing large objects like guns and swords as two halves that he glues together. Pretty much most of them are longer than 1m. If I had such a printer I probably wouldn't hesitate printing 50cm long parts.

>2. To make things worse FDM parts are weaker than injection molded ones, your big parts will be very brittle.

Not everyone can afford to spend a few thousand dollars to make single unit parts. Especially when you exceed the size of most injection molding machines you would have to either use multiple molds or one gigantic one which will cost more than $10000 for something you only make once.

>3. FDM printing is inherently an unreliable process. There are lots of moving parts (the simplest FDM printer needs 4 motors, lots of belts, idlers, gears etc) and very tight tolerances (e.g. the print needs to begin 0.08-0.12mm above the printing plate; the whole priting plate needs to be very level and parallell to the printhead.). This is achievable at surprisingly low cost today (an entry level Creality printer is <200$)

The reason why 3d printing is low cost is that rigidity requirements are low. On a 3d printer you don't even need a ball screw or linear rails. Just a belt with a crappy tightening mechanism and some plastic rollers on an aluminum profile are enough. There are no cutting forces in a 3d printer and the print head weighs laughably little so you can get away with small stepper motors.

>I am starting to think that FDM based printing is a dead end in the history of 3D printing (mainly because of reason #3). Likely the future is resin - a simple LCD resin printer has 1 moving part. But they need to solve the issue that most resins are nasty, toxic materials that you dont want to have around in your home.

Funny that you say this but I personally don't want an SLA printer precisely because of the nasty side effect of photosensitive resin. One day you'll become allergic and that's the end of your hobby. FDM printing is safe and mechanical reliability is just a property of the specific printer, not a property of the process itself.
You should be wary, but it's always context dependent. Could it make your life better vs could it make it worse.

In a hospice setting it's kind of hard to make your life worse, so it's reasonable (IMO) to try somethings there.
Again, context is everything. What an utterly spineless, pathetic response from a risk averse management type - to throw their colleague under the bus.
So in Korean, the word for "you" is 니가 (pronounced "nee-gah"). Example usage: 니가 언제 먹었어요? (When did you eat? "Nee-gah un-jeh mug-uss-uh-yo") I can't help but wonder if the use of this word would also elicit a similar reaction...

EDIT: I briefly forgot this, but there is a similar Korean word "내가" which is "me" or "I", and pronounced "ne-gah". Example usage: 내가 이 밥을 먹었어요. (I ate this food. "Ne-ga ee bap-uhl mug-uss-uh-yo")

EDIT2: Korean is not my native language so forgive me for this, but "you" is usually just 니 ("nee"), and "me" or "I" is just 내 ("ne"), but the 가 ("gah") part is used like a conjunction to connect to the rest of the phrase.

EDIT3: Ok, so I talked with a better Korean speaker about this and 니가 "nee-ga" is sort of a regional dialect (kind of like a slang term) for 너가 "nuh-ga". 니가 "nee-ga" is more commonly used in southern parts of South Korea, as the proper way of saying/spelling "you" is 너가 "nuh-ga". My Korean is influenced with the southern regional dialect as my parents were from that region. Sorry for the possible confusion. (So just "you" is 너 "nuh".)

EDIT4: PSY (of Gangnam Style fame) has a song titled "Champion" that uses 니가 "nee-ga" a lot:https://youtu.be/uA4fV7Y14eg?t=49
If he was suspended for that, it is truly a sad day for USC. There seems to be 0 malicious intent; he's explicitly referring to "that that that" before saying it in Chinese. This is a common way of saying "um..." in fast speech. He also seems like a good professor. It's too bad some student found the need to complain when it is obvious there is no bad intent meant.
Guess what the N word comes from...
No, they read it and rightly saw that if there is any way of getting around the borrow checker, people will just take that route.
The Easiest Way to Set Up TensorFlow Lite Micro and Arduino and PlatformIO
That blog prominently links to said study in the first sentence, which I instantly clicked on to know what he even is talking ... err writing about.

What is your problem?
Yes I've received it on a portable even. For a satellite it's easy probably because they're so close (LEO) and have plenty of power too burn.
Students of Swedish or Danish at this university will (presumably) be ignorant of the word "slut" (end, finished), and maybe the number six ("sex" / "seks") too.

"We will start the Danish course with the numbers. En, to, tre, fire, fem, fem plus en, syv, otte, ni, ti."
Security should be provided by a sandbox technology. Is it wise to implement the sandbox in C (or C++, because that really doesn't make a difference)? Probably not. For most other use cases it's fine to use "unsafe languages".
I've always found the US obsession with taboo words quite baffling. I used to tease Americans of my acquaintance by pretending to be offended when they said "oh my god" (dildo in French) or nick (fuck.)

Context matters a lot in linguistic, and the Sapir-Worff hypothesis is not just unproven, it's almost certainly completely wrong.
The resin itself isn't a huge problem. It's that it will enter and cure inside your body. This causes an allergic reaction that will grow stronger over time until it becomes unbearable.
That's ridiculous.

If anyone here vicariously forms opinions from black people telling you what to believe, you now have my opinion.
那个 is the chinese equivalent to "uh/um". Just imagine how many times a probably nervous professor would say "uh/um" during a lecture. The professor also is likely not great at english or has a strong accent.

Not sure how anyone could mistake this for a racial slur with hateful intent.
Smart Audiobook Player (Android) has an automatic sleep mode. Also you don't have to press the play button, it indicates the end (fading audio, beep) and you just have to shake/move the device to keep it going, so you don't have to open your eyes at all. It's fantastic.
My first thought when seeing this stack problem was that it might be possible to use the techniques presented in "Internally Deterministic Parallel Algorithms Can Be Fast"[1]. The idea is that the algorithm runs on the prefix of the input in two steps: In the first step it will figure out which items can be processed in parallel (e.g. those that don't depend on any earlier input) and in the second step it will actually calculate it. Both steps are done in parallel. There's also a slide deck[2] which explains it quite well.

I'm not quite sure how it would work on this problem, but it might be interesting to look into.

[1]: https://www.cs.cmu.edu/~guyb/papers/BFGS12.pdf

[2]: http://www.cs.cmu.edu/~blelloch/papers/spaapodc17.pdf
Anti-IF framework: if/else based on type
Blueground | Senior DevOps Engineer | Athens (GR) or REMOTE | https://apply.workable.com/blueground/j/96E4BD6F9C/

We seek for someone who can help us to Kubernetize our infrastructure. Prior experience is a big plus, but not strongly required. We are based in Athens, but remote work is also possible from a similar timezone.
Formula1 has the Concorde Agreement (re-agreed last month) which sounds like it solves that problem. UK football has something similar.

https://en.wikipedia.org/wiki/Concorde_Agreement
Isn't that the crux of Jean Baudrillard's Simulcara and Simulation? To be honest I've never read the original text, which is not the most accessible, but I've read many overviews and analyses.

When you create a rich enough symbolic system you can detach from what it was intended to symbolize. If the king ordered a map as detailed as possible, as big as the kingdom itself, and dedicated resources to maintaining it, people would start living on the map itself as it becomes less of a map and more of an alternate reality.

The richness of human thought over history is less and less dependent on reality. It will only increase with time.
Some OS-wide integration with sleep trackers would be great. While I've read that apparently these trackers are not so accurate, my experience with the Sleep Cycle app has been that it's probably accurate enough to detect me falling asleep, especially since I have a tendency to actively shake my phone if I'm motionless but awake for a while.

As others have mentioned, some kind of 'stay awake' feature would probably solve the issue too. I'm thinking a non-intrusive beep or shake the indicate that the phone is about to go into 'sleep mode', which can be dealt with by some feedback. the interval could then be set in the app or OS settings.

The nice thing about doing this system-wide is that it could do all sorts of other stuff: turn off notifications (I sometimes forget and get rudely awakened at night), go into low-battery mode, turn off the screen (in case I forget to put it facing down), etc.
Add a smart ink layer to this and you do have the beginnings of an Illustrated Primer.
If you press ⌘ when selecting hot corner action you can make it so assigned hot corner only activates when holding ⌘
> why do you have to wait in traffic to get to it?

Because someone's closed a bunch of roads :)

Seriously though: You can sell tickets at the starting and finishing lines, or by putting a loop in the course and sending the riders past the spectators 10 times.

But for the rest of the course, the riders will shoot past in a few seconds.

Look at this density of spectators: https://youtu.be/2ytb_ajLCFw?t=160

You can't sell a 'party atmosphere' or pad the entertainment out with dancers and marching bands and food trucks because the spectators are spread out over the entire course.

And even if you decided to charge for tickets despite that - the course isn't fenced off, so people without tickets can just walk in. And if you added fences and bouncers checking tickets, you'd need loads of them because the course is far too long to funnel everyone through a single entrance like a music festival does. And even if the fences and bouncers somehow made economic sense, you've gone from blocking a section of road for an hour as the race goes past to blocking it for a day or two as the fences get built.
if you could implement some kind of 'are you asleep' feature like this (https://news.ycombinator.com/item?id=24397750) I might just buy such an app :).
The video: https://twitter.com/cabot_phillips/status/130151642427657830...
here is a better example than her deplorables gaffe. when Hillary's own campaign manager says in private that Hillary hates everyday Americans, that goes way beyond working class--we're talking 50% of the citizens. voters aren't stupid. they can sense when a politician is full of BS and hates them.
that's why they didn't vote for her.

https://wikileaks.org/podesta-emails/emailid/4433

"On Apr 19, 2015, at 4:20 PM, John Podesta <john.podesta@gmail.com> wrote:

I know she has begun to hate everyday Americans, but I think we should use
it once the first time she says I'm running for president because you and
everyday Americans need a champion.

I think if she doesn't say it once, people will notice and say we false
started in Iowa."
This doesn't make sense to me at all.

Like.. in Spanish the word "negro" is "black". Can Spanish teachers now no longer use that word? Crazy.

It's like when chat filters (e.g in games) censor words based on the 'English' language. When I chat in dutch / flemish, my friends just see me censored for quite common words in our language. And they're often not even spelled the same as the English word that is bad.
if you are doing refactoring then good editor assistance can save you a lot of effort
Without trying to be alarmist, I have a feeling that's slowly spreading to Europe too, at least France and Germany.
I don't agree with color selections in the article. In majority of examples, I like "non ideal" better. Their "ideal" ones lack saturation, sometimes there is no enough color difference between the segments and their color palette looks rather depressive, autumn. Sorry, but I think this article is just another copywriter writeup trying to make science from something ordinary.
Muslim teacher tells of forced sterilisation in Xinjiang
Use whatever you feel it takes to get the job done?
The above kind of derails this thread, tbh.

Speaking about Elixir/Erlang alone, it's an interesting experience, because learning it properly is very different to almost every other language.

So if you're keen on moving to a new language for the sake of intellectual curiosity, then you will probably enjoy the trip.
Pokemon Sword and Shield's Crown Tundra May Be Setting Up a Big Patt
I once hit an unplayable slowdown (on Windows, though), where the devs told me I somehow managed to break the physics (NaNs everywhere). May have been a similar issue, as otherwise minor slowdowns are usually accompanied by excessive things happening (and unless you have an auto-cast Nuke wand, they're infrequent).
> "Professor Greg Patton repeated several times a Chinese word that sounds very similar to a vile racial slur in English. Understandably, this caused great pain and upset among students, and for that I am deeply sorry. It is simply unacceptable for faculty to use words in class that can marginalize, hurt and harm the psychological safety of our students. We must and we will do better."

It's unbelievable that this "understandably" caused pain to anyone. There is a linked recording of him using the term. Not only does this barely resemble the racial slur, it is indistinguishably used in a context where it's implicitly clear and even explicitly stated that it's a term from another language.

The dean and faculty should stand behind the professor and educate whoever got upset about this that you can not expect punishment for obvious misunderstandings.

Also, it might be really helpful to add (nà ge) to the title as it's impossible to make out the essence of the article for anyone who doesn't know the logographics.
cargo install pastel
pastel distinct 6
Two possible futures for ill-informed over-political correctness:

1. It continues to be pushed by those at the tops of organizations, which leads to a new pseudo-language of baby-talk that is constructed to be as inoffensive as possible. Simultaneously a ‘black market’ counter-culture emerges of those who don’t comply.

2. The entire enterprise collapses under its own weight and exhaustion. People get tired of being offended and move on.
Please consider leaving a link to cozy_macos_0.6.7_beta3.dmg; the macOS version was actually the reason why I posted Cozy to HN ;-). Worked great under High Sierra and was perfect for setting up a simple audiobook system for a centenarian who has been stuck indoors for months.
it would need lots of performance finetuning, the current game lags on big explosions on my i7 7700 CPU. Simulating lots of pixels at once is very CPU heavy.
Some time ago a fellow countryman, a basketball player, made it into NBA. After a controversial ruling by a judge that one of his teammates performed a foul, he kept yelling "ni ga, ni ga, ni ga". Contextually translated, he meant "he hadn't touched him".

He had to apologize profusely and explain to no end what he meant. Regardless, his career was soon over after that.

We, non-native speakers, must be really careful about using words in our own language that may sound offensive in the other language. What a world we created :(
The Chronicles of a Solopreneur
Shocking response from the management. I thought people in universities are supposed to be educated.
I'm doubtful. The Soviets were loudly propagandizing their industrial achievements to all who would listen.

Something like military bases they would try to hide, but if anything Soviet industrialization was oversold, in the sense that there was a huge fetish for certain production modes such as tons of steel produced, which overstated actual industrialization.

To say it another way, this is an example of Goodhart's Law:

"Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes."

In the annals of western industrialization, it became common to look at various indexes, for example of tons of steel produced, as a measure of industrial output and thus of GDP per capita.

So Soviet Planners decided that they would focus on these traditional indexes as targets, and so created massive overproduction of things like steel, reasoning that this would catapult their industrialization, as measured by the same indexes, upwards.

But that's not an apples to apples comparison to western nations measures of GDP, because a society needs many things: butter, milk, bread, steel, coal, clothes, shoes, etc. In a normal market society, these are all produced in rough proportions as people need them, millions of products are produced, so you can pick 100 of them as indexes to track overall economic output as there is no reason to think that the economy would bizarelly produce twice as much steel as it needed. Thus taking a handfull of goods and using them as proxies makes sense.

But if you take the same society, and instead of producing a million goods, you only produce 100 according to a plan rather than according to consumer demand, then you can have a situation in which the economy produces twice as much steel as it needs, and so steel production ceases being an accurate proxy for overall production.

Thus using western measures to track production of command economies is very challenging.

Which is not to say that Soviets didn't industrialize rapidly (at a terrible price in terms of human suffering) but that the bulk of the real gains happened as a result of World War 2 mobilization and the two decades after the end of the war, rather than in the period 1918-1940.

The pre-WW2 period saw a doubling of GDP per capita from the start of WW1 to the start of WW2, or a tripling of GDP/capita from the war ravaged state Russia was in after losing WW1 and and the end of the civil war to the start of WW2, but this gain in production was mostly due to shifting production away from agriculture and towards mass production -- sectoral shifts. But because production was planned, the increase in production did not result in a corresponding increase in sectoral productivity (productivity within a sector), which actually declined spectacularly due to collectivization, and so you had an economy in which some goods were massively overproduced even as millions were starving.

More information can be found here:
https://voxeu.org/article/stalin-and-soviet-industrialisatio...