skysight-inc/HackerNews huggingface dataset:
Probabaly the most concise list of useful tips I've seen since I started interviewing at the big four. Yes to all.
was as simple as "pop next door for a bit"

I wonder if that's half the problem, we make socialising so expensive in terms of organising, travel and scheduling that it becomes a drain. Popping next door doesn't have much cost.
Yeah, a fifth name appears in the macos branch. :) Not sure if github will show the name when macos is merged into master.

I wanted something small and easily self-hosting. A compiler on a floppy (as in old times). I hope you guys know what floppies are. :)

smlrc.c runs in 96KB on a PIC32 MIPS microcontroller.

LLVM is big and if I don't implement enough of the language (and I hear LLVM is s written in C++, not C), I can't recompile LLVM.

I can write an assembler. Or I can use FASM, which is self-hosting, if I can't compile NASM or YASM.
Reddit is a toxic community
So this looks like basically the followup project to the TAOS os which was ways ahead of its time. https://news.ycombinator.com/item?id=9806607
a coconut!
The max you could get in an 18650 form factor right now is right around 3000mAh, but good luck actually getting them! It is pretty easy to get legit cells that are around 2600-2800mAh though.

The ones that are advertised above that are 100% lies and are generally pretty crappy batteries.
I once considered classifying road users using that taxonomy, for self-driving car purposes. A bike messenger is a chaotic neutral. They don't obey the rules of the road, but are trying to avoid collisions.
Ask HN: Bought Oculus, know C#, never done game dev. What to build?
I've took advantage of the Oculus deal, I have tons of C# and .net experience but only completed the pong tutorial in Unity and wasn't grabbed by it.

Any pointers on what to build. My day job is currently writing/outsourcing small business/intranet applications, so need some fun in my life.
> Competition can enter but the barriers are too high - even without any government protection remaining on the generics in question.

But that's the whole point -- what is causing the barriers to be so high? Regulatory capture isn't just patents. Drug companies like the fact that a would-be competitor has to pay millions of dollars in regulatory compliance costs to enter the market. Because it should cost them $1 to make drugs they sell for $1.25, but apply enough red tape and it costs them $100 to make drugs they can sell for $300. They still can't charge $10,000 because that would invite competitors, but the $99 in overhead is what allows them to charge $300 for something that should cost $1.25. The overhead raises the barrier to competition, resulting in less competition.

And the fact that most of the drugs are paid for by insurance companies or the government only exacerbates the situation, because they're deep pocketed bureaucracies under orders to pay whatever price the seller sets. No surprise the sellers take advantage of that.

> (well and lack of price regulation by our healthcare system)

The problem with price regulation is that it only solves a small part of the problem. If you're wasting $99 in overhead, you might shave off some of the profit margins but you're still spending $100 to produce something that should cost $1 and sell for <$2. You have to actually address the regulatory costs -- and if you did that then you would have competition.
I think it's dishonest and unexpected to consider the engine to not be part of the game. When I buy a game, I expect that it comes with an engine, in addition to the art and the business logic. I buy with the expectation that it'll run on the stated hardware platform, e.g. Windows and some specific version of DirectX.

In that particular case, DirectX is a set of APIs provided by the OS vendor to develop games on their OS. It's part of Microsoft's platform.

In the GBA's case, Nintendo's platform is the hardware and their SDK. If I'm remembering correctly, there's an open SDK to replace Nintendo's, because the latter isn't (legally) available to homebrewers. But, the libraries linked from the SDK are universally distributed with the game. If someone wrote homebrew on the Nintendo SDK, I'd say it's impossible for it to be "open", because not everything that is distributed as part of the game is open.

Going another direction, with a specific example: The entire "business logic" of the game Dark Forces: Jedi Knight II is available as source. Literally, human-readable scripts packaged in a trivial archive format. Just have to write the engine, right?
I think Unity forces you into a pattern that you are not used to, this can easily get you out of your comfort zone resulting in very funny architecture before you get used to it.

The concept of GameObjects, Components and MonoBehaviours and best practices for how they should be composed isn't exactly obvious. Eg when adding two components of the same type to a GameObject it's hard to know which one of them is which (eg two colliders: one for triggers and one for physics) so instead you add two sub-Gameobjects each with that component attached and use gameobject.GetParent() to modify the parent. Is that best practice or not, i don't know, i just did it and it works but it certainly feels strange.
Crowdwork for Machine Learning: An Autoethnography
So basically, you are assuming the conclusion.
my main sorrow with the clearly misleading wifi-switch is to fall prey to those nasty mac-adress tracker in shops.

the other reasons you list are minor issues, who needs constant update possibilities, phone call forwarding to your Mac, airplay and handoff on the way?
yes, I also forgot switch off wifi and burned through my volume, but we shouldn’t dumb systems down. People need to understand cause and effect, especially in IT.
hmm it breaks on Chrome on mac os:

System.Exception: TypeError: Cannot read property 'viewport' of null
at ctor.Resize (http://demoseen.com/bridge/WebArena.js:180:37)
at new ctor (http://demoseen.com/bridge/WebArena.js:158:22)
at Function.Main (http://demoseen.com/bridge/WebArena.js:119:13)
at http://demoseen.com/bridge/bridge.js:2973:39
at HTMLDocument.delayfn (http://demoseen.com/bridge/bridge.js:481:21)
at HTMLDocument.listenHandler (http://demoseen.com/bridge/bridge.js:498:30)
Do you know if the severance was based on time worked so far, or 2 weeks for everybody?

But yeah, this is terrible. If you don't expect you're going to be fired for bad performance, that's a company's failure, not yours.
HOW BADLY HAS MASSIVE CORRUPTION DESTROYED NIGERIA?
As a foreigner this feels a bit like a US' reaction about their loss of leadership. There has to be something wrong about China's rise. Imagining that it will surpass their own economic power through good management by a central government is something they just refuse to accept. It has to be some authoritarian cheat mode.
> Interesting that the leaders of two of the world's superpowers (and the two formerly communist ones at that) share such a similar journey.

Maybe it's just two autocrats who use cults of personality and tactics from the same playbook.
Despite multi billion - dollar investments in cyber security, one of its root problems (blessings in disguise) has been largely ignored: who are the people who write malicious codes? Who are the real hackers?
Aye. We stay anonymous for some good reasons. The law may feel what we do is illegal but we save lifes, relationships, jobs, even the government hire us in secret, without notice.
Well, if indeed you seek a professional hacker with absolute discretion, then you have met the right person. If you are not in for a real job please do not contact me. While i was working on a job, a lady contacted me saying she needed to hack into an iPhone, and she needed both the messages deleted and the new ones, the call logs, the messages sent, the EVERYTHING in the phone which could be done in hours but she included that she needed to hear the conversation of the past calls and she wants to monitor the new calls listening to every conversation, in which i call SORCERY! Such can never be done! Since i have been hacking for years, i have never came across such. Anyone who says it can be done, you AVOID THEM. They are more or less scammers. Be careful so u don't get scammed.
You need a hack job done? Send a mail to
Mobilotech@protonmail.com
Indeed. Hopefully the founders and employees were somewhat reasonably compensated for their risk and trouble.
Netflix is very (in)famous for their culture deck. I could understand they got a little piqued. Assuming you did not read it before the interview, they are looking for: good judgment, communicative, impactful, curious, innovative, courageous, passionate, honest, not selfish, performant, smart, professional team players. Hah.

https://www.slideshare.net/reed2001/culture-1798664 (17 million + views)

I am on the fence about the second part of your question. On the one hand: If they are free to grill you about hypotheticals and process, why can't you do the same? On the other hand, should you really? It is a very cheeky ("courageous") question that would catch me off guard. "Who are you to question the very job interview we are currently having? How is this relevant to your prospective job? Current interview not up to par for you?".
Going 64-bit is quite a bit of work:

- additional 64-bit types will need additional code for type checks and conversions, switch, etc

- new or improved code generator is needed (ideally, 64-bit non-pointer types should also be supported in 32-bit programs, possibly as register pairs)

- new object and executable formats to handle

- possibly new ABIs to support (pushing arguments onto the stack and never bothering to align the stack pointer onto a multiple of 8 or 16 boundary is kinda easy, it's pretty much free)

And the above work hasn't been done.
> It doesn't make it any better ux though. FYI, the way to make them stop is to say 'yes i'll write a review', wait for the app store to load, and then close it. They usually won't prompt you again.

No, I didn't mean that it somehow turned into great ux. I meant that I understand the rationale behind it nowadays.
many text editors have that feature, while might be not that widely used or useful, it's still ported and implemented in many of them
Like what for example?

Model trains?

That isn't quite the "real" feeling I am after. A hobby that only benefits myself because I am bored doesn't seem like the kind of thing that will fulfill my lack of tangible real problems to work on.

The fact that my model train stopped working because the motor got wet or whatever doesn't really seem like an important problem to solve that would benefit anybody in particular.
2% turnover over the course of a year might not seem high. Firing 2% of your workforce in a single day is.
Late-70s early 80s Xerox "D machines": Xerox Dorado, Dolphin, Dandeline, ...
> You don't think that the company's algorithm for hiring your coworkers tells you much about whether to take the position?

I don't think that hearing whoever happens to be interviewing me defend their interviewing process tells me much about whether to take the position.
Indeed. Half the reason I use an adblocker is to stop every random website from maxing the processor on my poor old MacBook.
It's less complete in terms of the language and needs less memory. smlrc.c runs in 96KB of RAM on a PIC32 MIPS microcontroller.
It's a less error-prone approach than speculating on how they might improve in the future and using that to judge their present actions.
Tendency: "an inclination toward a particular characteristic or type of behavior." "a strong chance that something will happen in a particular way"

> “Since the early 1990s, approximately 2000 doses of psilocybin (ranging from low to high doses) have been safely administered to humans in the United States and Europe, in carefully controlled scientific settings, with no reports of any medical or psychiatric serious AEs, including no reported cases of prolonged psychosis or HPPD (Studerus et al., 2011).”1

Then, to address 'controlled environment':

> “Lifetime classic psychedelic use was associated with a significantly reduced odds of past month psychological distress (weighted odds ratio (OR)=0.81 (0.72–0.91)), past year suicidal thinking (weighted OR=0.86 (0.78–0.94)), past year suicidal planning (weighted OR=0.71 (0.54–0.94)), and past year suicide attempt (weighted OR=0.64 (0.46–0.89))”13

And

> According to US government statistics, magic mushrooms have been used by 22.8 million Americans at least once.12

https://tripsafe.org/shrooms/

While they can lead to this, tendency doesn't seem to be the right word to use.

I'm quite passionate about this topic and I think it's very important that people writing publicly and sharing opinions on these substances are accurately informed, and try to present statics and put references into context.

Does the above change your mind on this? If not, what would change your mind a little bit towards thinking that they don't have a tendency to do this?
>And no, you are not depressed for gods sake! You are absolutely normal! The problem with the tech industry as i see it, is that you never attain mastery over your craft. It is a never ending game. You always have something new to learn - the paradigms keep shifting and priorities keep changing. While that may excite the majority, there are a bunch of us who would like to master our craft to perfection - and this sense is hard to attain in tech (please feel free to disagree, and if you are the lucky few please get in touch). I have envied craftsmen too.

That's a great point. It does seem like an onslaught at times. But I don't think that's quite what I am upset with.

I LOVE learning new things!

It just seems like all of the things that I have been learning recently have only benefited large faceless corporations or people that are otherwise doing not-good-work in this world.

Like lining their pockets with the profits of whatever pointless game they seem to be playing.

Eking out a few percentage points off of a website's bounce rate or cutting a few milliseconds off of somebody's program runtime just seems so utterly pointless to me now.

Maybe it's just the types of people I have been working for?

Maybe I should try to get some work doing what I do for a non-profit or an organization that helps people... instead of a capitalistic one that drains their wallet?

I don't know... I just feel like I am wasting my talents doing what I am currently doing is all.

>But if you talk to them, they would probably envy us - since we make more money than them.

I know that they do. I have plenty of buddies who work in factories and they tell me all the time "You don't work! You just sit on a computer!"

The grass is always greener on the other side of the fence I suppose.

Thank you very much for that comment!
I think C is fine for a simple compiler. Why are algebraic data types so relevant? Pattern matching is nice, because switch statements plus unpacking is more verbose.

For big optimizing compilers you appreciate abstractions like C++ enables. for example, a data flow Analysis framework.
Hmmm ... that's pretty speculative, or really completely speculative.

This movie has been made before. The USSR claimed something similar. Now of course, China's aggregate economy could match the U.S.'s when its citizens are only 25% as wealthy, but that is not a sign of great economic performance.

> good management by a central government

I think you mean by an undemocratic authoritarian government (I don't think centrality is the issue). Regardless, I don't see good management, mostly effective suppression and international propaganda. If management is so great, why do they need to censor and propagandize their own citizens on a massive scale, not to mention outlawing dissent and imprisoning dissenters? Who needs the 'Great Firewll', in that case.

I don't think people in Tibet, Hong Kong, Taiwan, or Xinjian would say China is so well managed, as obvious examples.
Well, yes you’re correct, there are associated complexities I’ve glossed over. My point however is simply that all of these complexities only really need to be solved once by an expert or team of experts such that non-experts can then utilize such a biotechnology (“yeast strain”) to produce some medicinal compound or other useful engineered metabolite. A yeast strain that can’t be reliably cultivated by a non-expert with relative ease and safety (in a non-laboratory) wouldn’t make the cut, in theory.

Also the same semi-synthetic organism could be applied in traditional pharmaceutical process settings as well, if for no reason other than cost reduction (and probably workforce reduction as well). So even “big pharma” has some incentive to contribute to this sort of technology.
For what it's worth, I liked your meta comment. I had the exact same reaction ("oh they sold out") but once I read your comment I realised I had nothing to back up that feeling. A person being up front about their own ignorance is refreshing, especially on HN when everyone is so sure about everything.
Mindsharp Education
Indiehackers interview on Tech Press List making $620 without code
Personally, I think an engine written in Haskell would be more interesting. Given how ridiculously strong some engines are when running on commodity hardware, a little performance hit wouldn't be the end of the world.
The Dystopia Next Door
In the words of Adam Jensen - what a shame.

Though HB says: "We will stay the same", I'm sure practically everyone knows that that won't be the case. IGN, the go-to place to get sponsored reviews of AAA games.
Netflix is extremely up front about it.

Still have heard it's a constant battle to not get fired. Sounds lousy.
Hey HN-ers, here are some JavaScript reads for your weekend
ECommerce Website price in India
What one learned 30 years ago in wood carving, painting (or plumbing) is probably still widely applicable. The intricacies of a particular programming language or environment you learned 30 years ago is likely meaningless. I remember being an expert an version 1.0 of a graphics program. That expertise is now useless: the program evolved, met its end of life and the company that distributed disappeared in an acquisition. Telling people today that I was an expert in 'FabulousDraw' gets me blank stares, the same as mention of the company that distributed it.

Activity in the physical realms is not unchanging of course. But it is more durable than software products. Installing the plumbing in a large building might not leave much of a mark on history, but it will leave more of a mark than doing the "plumbing" work on a corporate web site.

At least if you're a plumber or (was a) typewriter repair person, you can physically show ordinary people an example of what you do and they are likely to at least grasp the general concept.
Wolf Puppies Are Adorable, Then Comes the Call of the Wild
You will be heavily downvoted by the Rust zealots, without any argumentation, even if your arguments are in their official docs. I try from time to time because their discrepancy of marketing talk to delivered features is even worse than with Perl.

Comparing to this lisp os its a bit unfair though. This is an async distributed actor model os with various practical shortcuts. Refcounted with manually breaking up cycles. The lisp is very rough, but extremely fast. No linked lists (i.e. cons cells), just vectors. (Very good idea btw, same as in potion).
A better macro assembler with message passing OO (smalltalk, Erlang but better than beam).
I still want to see the other TAOS features though: selfrouting network, dynamic binding
Ah, so every collision is the product of a willful decision to enter into circumstances that place others in harms way, and may be readily equivocated to handling a loaded gun, with the intent to possibly destroy things, yes?

And I suppose collisions are thus to be perceived as, not merely likely, but having been inevitable once they transpire, at least in the eyes of the law.

So, every traffic infraction is the result of someone waking up and trying to do harm, or in some way cause a problem they may have inflicted (or intended to inflict) upon the world. And especially so, when proven guilty by a trustworthy legal system, immune to manipulation.

Everyone is suicidal, everyone is self destructive, everyone is negligent, and these collisions are just representative of the moments in which such people succeed in fulfilling their desires.

I see how it works now. Thanks for the enlightenment.
Smells like stack ranking.

Apparently seeing MS get lambasted over this for years (and having a pretty terrible rep partly because of it) wasn't enough.
I've tried making some similar tool based on the output of RVTools to translate the output of RVTools to some terraform like script. I gave up on the idea after noticiing how much time it'll cost to catch most edge cases. You want those edge cases to increase your productivity, else you're just shifting your work.

I think a similar thing will happen here if you're gonna make it as broad. Maybe I'm overcomplicating things but I noticed that writing a good general parser is really, really hard.

I think this tool succeeds excellently in it's simplicity, might want some new features over time though - not sure, need to try it, but for now, great tool.
How do nodes choose which fork — past the latest checkpoint — to view as the main chain?

E.g. let’s say I take the main chain, go back to the first block past the latest checkpoint, and remove the competing staking-transactions so that only my staking-transaction is present in that block. The I build on top of this, without competition, because I can selectively remove competing staking transactions simply by constructing new blocks that don’t contain them.

Let’s say hundreds, or thousands, of stakers do this. How do nodes decide which chain is the right one?
"Reefer Madness" is inconclusive [1] (so far as agitating an underlying psychosis). Many proponents would regard this as a affirmative result, however it does go both ways.

> Is there proof that they have a tendency of triggering "latent" conditions, instead of generating the conditions?

Personally, I've had panic attacks (originating from paranoia) bought on by historical heavy use - the correlation isn't subtle at all. Did my paranoia drive me to the initial peace associated with the drug? I'd have a hard time arguing otherwise - it really, really helped at first. My life was altered positively days after the previous dosage. If I take it now the situation becomes unbearable in less than 5 seconds. Anecdote disclaimer, as well as not being the same psychoactive drug (but it is psychoactive).

[1]: https://jamanetwork.com/journals/jamapsychiatry/fullarticle/...
Really cause people gave MS endless crap for that style of work.

Course I guess all the arguments against this type of thing are countered by "but it's elon"
I appreciate it. I try to remember to follow up every opinion with a disclaimer and a challenge: this opinion is loosely held, so please change my opinion with logic or data or alternate interpretations!
Something different... The following isn't going to pay, but it is FAR from a hobby. It it real, physically grounded, complex work that directly, observably, benefits real people. Bridges to Prosperity <https://www.bridgestoprosperity.org/>