skysight-inc/HackerNews huggingface dataset:
Hi,

If you are a c# developer and you like asspnet or net 6/7 and you are a "always db first" person.

This project is for you. (searching for testers and users). Free and open source (MIT licence).

When you begin a C# project that needs to retrieve info from a DB, you have several choices => efcore etc. But sometimes you see that you need to keep more controls on your data accesses.

This generator has been made for you => generate all the base stuff and focus on the complex ones.

It will generate all the Data Access layer + Poco for you (Dapper async way).

If some guys are interested in participating and enhancing the available generators or create new ones.
Dont' hesitate to PR.

The releases are not always updated but the main branch is always working.

Hope I will have some feedback.
Thanks to another awesome project : https://github.com/spectreconsole/spectre.console that allows old school guys to dev console app on Win et Linux ;)
> that'd explain some of the weirder features mentioned on the home page

GDPR compliance too?
If you use app with auto-save it will auto-sync. Many apps have that feature.
And how would they get there if they can't afford housing in their area. You think they have money to move to another country? Do you know how expensive that is?
"nowhere to be found"

Seems you don't hang out on Psychonautwiki, r/researchchemicals, MAPS.org, or any of the highly scientific drug communities going about deliberate, skeptical research in the space.

Just because you don't look for them doesn't mean they aren't there. If your only experience is hanging out with fried deadhead hippies I can see how you might reach this conclusion, but the space is broad and deep and many other types of people approach and research it.
I understand where you're coming from, every language or tool you look into opens up a Pandora's Box of tooling and libraries that you Should Be Using, and it's difficult to see the forest from the trees. For me this goes back all the way to PHP, where you don't just do, idk, "php helloworld.php", but you had to set up Apache, MySQL, and everything that comes with it, or some Windows application that sets up a server.

Anyway, that's not really practical advice. I'd say, either use Python, avoid any libraries or tooling, just stick to basic python scripts to get to grips with it. Make some of the tools you mentioned, or else do a series of challenges - Advent of Code is coming up, but that quickly goes pretty advanced.

Alternatively, I've had a lot of fun with pico-8; it's an intentionally constrained environment where you can only see a dozen lines of code at once in low resolution blocky text. It removes any inclination for e.g. libraries or clean code, in favor of just pragmatism. Learned a few tricks there too, like practical applications of the mod operator and the like.
Poor phrasing on my part. The value of money hasn't changed as a result of the large amount of money students have because of loans, which is what the comment was citing as a reason. Obviously inflation exists, but I've never heard it linked in any significant way to student loans and it's not nearly as high as the increase in costs of textbooks that was being discussed.
Workers are serfs to these people, the neoaristocracy-supporters that love CEOs don't really like to be challenged by the peasantry.
I like the mixture.
If we ignore all those pain points and ignore that we're sticking to "the good parts" and have to employ strict discipline and not rely on hundreds, if not thousands of unvetted dependencies and use typescript even though its type system has holes in it and nobody should mention the myriad build systems or varying APIs in browsers (its main target) or that its community can't come to an agreement on module formats/namespacing…

…and then I'll have no reason to dislike this language. Got it. Am I allowed to dislike the newish template literal syntax too?
If this is not working for you, https://www.tweetbeaver.com may help somewhat depending on what you need.
Isn't the go version limited to owncloud? Are they open sourcing the new code base?
GeoCities, Myspace are the two biggest I can think of.
He wasn't charged with that.
masklinn already made lots of good points. I'd add that panics in Rust are for intended for non-recoverable errors (like memory allocation failures, out-of-bounds access) and under most use cases are equivalent to abort(). There are mechanisms to catch panics in Rust, but the docs state:

"It is not recommended to use this function for a general try/catch mechanism. The Result type is more appropriate to use for functions that can fail on a regular basis. Additionally, this function is not guaranteed to catch all panics, see the “Notes” section below."

> atomic transactions that are undone when something fails

This is exactly what many business apps do frequently, through the use of database transactions.

[1] https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
> Crazy by Gnarls Barkely

Starts and ends in the same key. There's some minor<->major mode shifting over the course of the song, but the tonic remains the same.
Snakes of Hawaii
Would you think that this SBF guy will enjoy prison time?
First impression: those ranges are well within manufacturing tolerances / testing quirks / etc. of each other.
We prefer option c: add a new table/column with similar looking name. Then few years later start wondering why there're two almost identical entities, and why one of them behaves weirder than another.
This is pretty neat and sobering. After I put it in my birth date, I got one value then it dropped nearly 8 years after I put in the correct sex and country of birth
+1 here. Nextcloud is a pile of PHP scripts, while Seafile splits and diffs individual file blocks, and absolutely flies at 'whatever the lower of of your network and drive speed is', handling any file sizes you can throw at it.

On the other hand, Seafile is also a binary distributed by Chinese team, and if I was a Chinese secret service, I'd build in all the backdoors I can, which I guess already happened.
Looks like NextCloud is also thinking about migrating to Go.
US NSA tells developers to shun C and C++ programming language
Ask HN: How should a software engineer bring to reality a hardware project idea?
I am a software engineer but have very limited knowledge of hardware. But I have a product idea to both reduce electronic waste and provide good enough system security for the user's data.

The product is a hardware device similar to USB. But I don't know if the idea is even feasible. How does a software engineer, with no knowledge of hardware, bring to life his/her dream. Where should I start? Who should I talk to for guidance and help?

Anyone interested in helping me?
Certainly, but you rarely find so many opinions stated so clearly and concisely. Even How to Win Friends is a bit repetitious.
Yes.

I personally find Rust's way of doing things superior (for reasons
masklinn mentioned in his comment), but it's basically the same principle, just realised in a different way.
>Some trips have felt like mystical, blissful experiences. Others have felt like an eternity in hell. You never know what you're going to get and you have to be ready for it.

I wonder if the variability in experience isn't partially because it is a plant concoction allowing some substitutes:

> Ayahuasca[1] is commonly made from the Banisteriopsis caapi vine, the Psychotria viridis shrub or a substitute, and other ingredients including Justicia pectoralis,[5] one of the Brugmansia (especially Brugmansia insignis and Brugmansia versicolor, or a hybrid breed) or Datura species,[6] and mapacho (Nicotiana rustica).

It seems to me that it would be hard to get a repeatable dosage and combination of the active ingredients this way.
It might not be math-related; could be something as simple as a requests table being named to indicate that api X was used and now it uses API y and there is some reporting on that somewhere that doesn't care which API was used.

Ideally the table would have been named more generically but in an earlier stage startup there will be mistakes in naming things no matter how hard you try to avoid that.

So the only thing that actually breaks here is that a small number of engineers that care about this might misinterpret what it means unless they learn the appropriate tribal knowledge. Ideally it gets fixed but if you look at all of the things that can be improved in an early stage startup, this kind of thing is pretty minimal in importance so it becomes tech debt.
It reminds me about the classic observations of a candle exercise in science class.
This is not intended as an insult, but as an observation: the average tech proficiency level of a lot of commenters on HN seem to be at the earlier stages of their career, or they quickly switched out of the technical work and into management.

This is not to say the work they do is not valuable - quite the opposite. Noobs make the world go round. That said, it also means you can't blame them for technically shallow content.

And anyway, Hacker News as a name always struck me as more or less a marketing gimmick.
That's why you should also have comments, and maintain them. Then if the name is hard to change, you can at least document the new semantics.
Trying to be objective, isn't downsizing what all tech companies are doing? There's a lot of PR mismanagement here, but it seems to be in line with the rest for the moment (leaving aside EM bs). And Twitter is no Meta. There are no alternative products to bring in cash revenue, so hardcore downsizing it is.
It's also worth remembering, Facebook has about 15,000 paid moderators. Because they print money they can just solve the moderation problem with brute force. It's pretty funny when you think Facebook employs twice as many people just for moderation than Twitter employed in total at its peak, obviously the moderators are cheap, but still funny.
There's definitely some vitriol flying around relating to this - some directed at Musk, some directed at the woke/left/liberals they feel are responsible. But there are far more reasonable criticisms of the last couple of weeks' worth of chaos that express a tone of incredulity than anything. To me I think it's just that most of the things people have a problem with are basically indefensible, so either his fans won't try defend them or they've come round to the idea that he's maybe not who they thought he was.
IIRC hardware CPU virtualization enabled in BIOS could have some negative impact/bugs on some SW, and also open the SW to some security vulnerabilities so it's a good idea to give the user the option to disable it and use SW virtualization instead.
There's little difference between this comment and what people said about every single media advance of the 20th century.
To be honest, the example given (a "read" method that wraps direct access and raises a custom exception) does not inspire confidence that the item is expected to be there more often than not. There's certainly too little context to assume anything.

Expected or unexpected, either way there are two paths; I would return a Result/Option type.
Previously, on March 2014, with 264 comments:

https://news.ycombinator.com/item?id=7437643
Sold: A commercial version of the mold linker
Interesting. So you're saying that the ransonware uses symmetric encryption, i.e. the same key is used to encrypt and decrypt.

I always assumed it used asymmetric encryption, and that the decryption key would never hit the victim's premises.

Definitely not computer gods.
India follows EU's example in requiring USB-C charging for smart devices
> SBF was depositing customer money into his hedge fund directly (FTX didn't even have a bank account).

Even the CEO running the whole set of related entities in bankruptcy doesn't know which of the FTX-related entities had bank accounts and what accounts they were because they literally didn't keep records of that. Or who their employees were. Or, well, much of anything.

Probably because the whole corporate structure was a paper thin veneer over fraud, amd discussing the individual paper entities as if they were meaningfully distinct in any way is mostly missing the point.
What do you mean by 'validating'? It's just the reality of the situation. Is his sentence overreaching and excessive given the circumstances? Yes. Definitively yes. Did Ross commit a crapton of crimes? Also yes. Look I fully agree that his sentence should be reduced and he be given a second chance but again the man is in no way innocent either.

Seriously if everyone concerned really wants to help this man then everyone needs to drop this misleading mythology built up around him and deal directly with the reality of what happened. For example, this statement from the site:

Ross Ulbricht is condemned to die in prison for creating an anonymous e-commerce website called Silk Road. An entrepreneur passionate about free markets and privacy, he was 26 when he made the site.

I'm sorry that is a gross misrepresentation of what he did and is in no way helping him. If people really want to help him get his sentenced reduced then they need to start by fully acknowledging the crimes Ross actually committed. Then a clear argument can be made that excessiveness of his sentence far outweighs those criminal acts. It's not a case of innocence vs. guilt and shouldn't be framed as such. It's a case of Ross being unduly punished for the crimes that he legitimately committed. Anything else is just muddying the waters and again is in no way helping him.
Isn’t the point of go is that go fmt follows the languages global style guide?
>If these substances would simply fire random neurons in a brain you would expect more of a delirious/deluded and dream-like state.

They don't fire completely random neurons. All drugs have some consistent(ish) effects. Among other things MDMA is more likely to activate empathy-related mechanisms, (some) cannabis is more likely to activate tiredness-related mechanisms and DMT is more likely to affect entity recognition and related mechanisms.

>That entity actually asked you a very valid question. Why do you need to explain it away?

Because generally it's a good habit to have true beliefs. In this case asking yourself might've been better after the experience but the habit itself is good to have and deluding yourself even after the fact is bad.
Except the article quite literally say None is an option, except <insert not great reasons>. That wasn't an assumption on my part.

If the missing item wasn't exceptional they would have just said that.

-

Also if even if it were exceptional, you'd still served extremely well by a Result type.

Instead of just guessing where the landmine is sitting the type system can help you. Python explicitly opted out of type hints for exceptions to avoid a Java-style "checked exceptions" world.
> But you know what happened next? Shut up, I'm telling you what happened—the bastards went to four blades. Now we're standing around with our cocks in our hands, selling three blades and a strip. Moisture or no, suddenly we're the chumps. Well, fuck it. We're going to five blades.
One can install the FOSS client and daemon on macOS similarly to Linux:

https://github.com/tailscale/tailscale/wiki/Tailscaled-on-ma...

I do that mostly because it's running as a LaunchDaemon.

> Forget the server

Pop the headscale server in and you get a fully FOSS system.

https://github.com/juanfont/headscale

That I don't do, because the coordination server, the relay system (which you can also self-host), and the server side UI are really good.

And also the public behaviour of the persons working at Tailscale as well as Tailscale's approach towards FOSS generally increase my level of trust in them. IOW they strike me as Nice Folks(TM), and if Nice Folks(TM) don't inspire confidence to you then you probably want to run the whole thing as described above.

I mean, please read this in its entirety. They even have a "Encouraging Headscale" section.

https://tailscale.com/opensource/
To accelerate server crashes?
Not sure about engineering.
But they build a electric-car factory from scratch in Berlin in 2 years during the pandemic.
Check how many years other companies take to build ICE or electric car factories…
I think we're going to find out in the next few days, but if you believe this graph the signs are not encouraging (NB: this appears to be self-reported outages so I'm not sure that it is trustworthy):

https://downdetector.co.uk/status/twitter/
Exactly. PCIE 4.0 isn't some software feature that you can turn ON/OFF without consequences, but it requires quality PCB traces to maintain the faster PCIE 4.0 signal integrity, otherwise it would introduce instability.
Bayfail was utterly broken on Linux until two years ago or so. There is a bugzilla entry with more than 1000 replies. And it appears that some platforms with that CPU still have issues with Linux, which according to that issue is yet another bug.
Tesla's manufacturing process engineering is unparalleled in the automotive space, but the final products are often buggy because when you reinvent manufacturing overnight and don't nail it 100% all people see are the bugs.

I personally don't like Teslas that much, I think they got a lot of things wrong, but the manufacturing process engineering really is leading the whole car industry by quite a ways.

Check out MunroLive's teardown videos on YouTube where they talk about the changes to part counts, castings, fasteners, and all the internal details that consumers don't notice.
Interestingly, this article defends traditionally established peer reviewing structures claiming newer reforms aren't needed
https://blogs.scientificamerican.com/beautiful-minds/the-rea...

...and my experience as a varyingly persistent introvert :-)
no matter how big of a hater u ar of amazon you can't deny what they have going is really impressive, sure aspects are bad but still impressive
You are of course free to dislike anything.

But you said "hate" before, which is a bit stronger than not liking.

The only time I came close to hating a language, was when I was forced to overtake someones half assed php project.

And I still do not like the syntax and have never touched any php code ever since, but I still do not hate the language, or its designers or users. I just avoided it. But hate has the vibe of wanting to destroy something ..

And well, yes, a nice clean start of the web would not be such a bad thing - if there would be some language or plattform everyone can agree on. Which is likely not happen and will just recreate the mess we have already.
Most American workers have an employment agreement with generalized clauses to the effect of "we can terminate you at any time for any reason" and "hours are thusly unless management needs you otherwise" and "duties are so-and-so but also anything else we want you to do."

I've had jobs where I kept the software running so smoothly 80% of my time at work was spent with a broom or a rag cleaning because "downtime" was not a thing.
This is quite the extrapolation of fear.
Important detail, indeed.
Exclamation marks always remind me of Sir Arthur Conan Doyle - https://www.youtube.com/watch?v=N9mRtTahZTM
People have reported achieving identical experiences solely through meditation, though it takes much more work.

Believe it or not, most people who toy with DMT are aware of what hallucinations are, and wouldn't conflate them with reality without a good reason. You're being quite reductive and inconsiderate of your audience - this isn't /r/trees.
That's cool. As a next step, allow the user to blow down the candle by listening to the microphone :)
"This Tweet is unavailable" - what did it (roughly) say?
I’m not a “no comments” maximalist but someone has to be pretty junior to have never experienced a comment that is just completely incorrect.

It’s really hard to write a good comment that is only “why”. It’s really hard to keep comments up to date as code is moved and refactored. And an incorrect comment is much more damaging than no comment at all.

That’s the driving force behind “self documenting” code. My view is that a comment is sometimes necessary but it is almost always a sign that the code is weak.
Awww, I thought it was. Merely very big, then.
> at worst you'll get a bunch out of prolonged outages and some dataloss

I hadn’t thought about what will happen next, but this is probably it. It’s fascinating watching the D-K effect play out at every level here.

It might actually benefit engineers in the long term too, since they can ultimately blame Elon ( after he fires them ) and hopefully learn from it.
Is chart performance really the only marker we have left for cultural relevance?

Eurovision is hugely popular and continuously and commercially successful outside of the charts world.
I'm pretty sure that the law does not permit you to re-sell digital copies. As when you purchase a digital book (DRM or not), you don't own the digital copy - you're only granted a license to use it for your own use. This license does not extend to reselling it (what your suggestion would be doing).

Physical books fall under a 'property purchase' model while ebooks fall under the 'license based' model. A good (albeit basic) read: https://goodereader.com/blog/e-book-news/this-is-the-big-rea...
Did someone measure the 3 seconds delay on tweets sent to 10 mil followers ? Or just some assumption based on lower scale tests ?

I'd imagine "shard the servers serving the subscription to users, accessing sharded database/queue of new tweets" would get you close. Much easier to do with established software now than when twitter was created tho.
Code is almost never self-documenting. That's why there are so many O'Reilly books out there.

A great example is AWK: It's a tool, and it comes with a book from the people who made the software. That's how I like my software.
In some cases virtualization can affect performance. Mind you last time I checked this to be the case was around 2017-2018. I don't know about the situation right now (though I wouldn't be surprised if it would still apply in some workloads).
if my memory serves me correctly, for "standard" users, tweets are push - it will be pushed to all your subscribers, so they get instant feeds. for "celebrities", tweets are pull - when you open your feed it will pull the latest tweets for your celebrities from a dedicated cache for celebrity tweets

(celebrity just means subscribed by >X people)
What if you cannot show to work because everyone's been locked out of the building or their accounts?
I believe Rust has a concise syntax (?) to let exceptions bubble up. Does Java offer a way to ignore checked exceptions at the current level?
It's different because department store fidelity programs weren't generating terabytes of raw data per day, feeding it into ML systems, correlating output against millions of other data points available for purchase, and then using the resulting insights to manipulate political affairs on a large scale.
One message to everyone is significantly easier case than "any message from anyone to anyone that subscribes" tho