skysight-inc/HackerNews huggingface dataset:
Learning from your own mistakes, but also from other people's mistakes

Reading widely

Reading narrowly

Writing well

Figuring out when and where I'm most effective

Setting up a second brain - Keeping a journal

Learning how to touchtype

Using the keyboard for everything e.g. vimium
Be patient... We've seen how O(2^n) algorithms can be utilized in the Swift compiler, but it's still a long way to the Ackermann function... I have faith in them!
> eth, which is soon to be env-friendly PoS.

The switch has been delayed 6(!) times since 2017. It‘s perpetually happening “soon”. I believe it when it’s actually live.
That fact the senior devs can make 500k a year.
At Terrateam[0] we specialize in Terraform automation with GitHub Pull Requests and GitHub Actions.

We talk to a lot of Terraform users from a lot of different companies. The most popular way of doing things is having your SRE/DevOps team write the bulk of the Terraform modules for your organization. Other members of engineering then consume these modules to create resources for their platform/application/etc. This code can either live in a Terraform monorepo or inside an application-specific repo. We've seen many approaches.

Scaling Terraform inside your organization is incredibly convenient with Terrateam as we leverage many pieces of GitHub.

[0]: https://terrateam.io
Unity’s value decrease is mostly (solely?) due to market conditions. That means that their underlying business is the same as it was before the broader market downturn, which means their value should increase as market conditions improve. Unless they need to sell now, their value should increase in the future.
Starting with the terminal and editor, yes quite easy.
Then there’s the giant project monstrosity you mentioned.

The sizable stage in between is what most fail to mention, pyflakes. You can get very far with just pyflakes and some tests if you’re a good developer. It finds the first 80% of bugs with very low effort. Most of my projects need nothing else.

The biggest will benefit from flake8 and typing as well, but there is a bit of a cost in complexity. Paid for with piece of mind.
> In the HTTP handlers it makes sense that you don't have return values, because: What would you do with that value exactly?

I think that approach used by clojure's ring shows an elegant way to represent http responses https://github.com/ring-clojure/ring/wiki/Concepts#responses. They are essentially structs with the following fields:

status := number

headers := map of string->string

body := stream | string | seq | inputstream

Request handlers are handed a request struct that is similar. The handler is a function that maps a request to a response (it doesn't actually write to streams itself).

I like this style for an http library for a couple of reasons:

1. HTTP resources can be viewed as functions whose domain is the request, and range is the response. Having the abstraction match that makes for really nice code.
2. If you model the request/response structs symmetrically and expose your http client as a handler itself, you can write proxies very easily. For an example of this, see http4k (https://www.http4k.org/documentation/) (a kotlin library).

I won't argue that the net/http abstraction should change, but I do agree with the author's take on the desired shape of an http library. I'd probably just write my own abstraction on top to fill the gap.
Captcha comes to mind, but that's a cat-and-mouse game in the age of machine learning (not to mention actual humans working for a bad actor). Cloudflare seems to be on the cutting edge with their newest challenge mechanism, but good vs bad is somewhat distinct from human vs script.
I have yet to add my phone number to my account. My guess is that it isn't applicable for legacy accounts circa 2008.
The definition of money laundering is concealing the origin of money obtained from an illegal source. You may not like the fact that this is illegal, but it has a clear definition and most people want it to be outlawed, so it is. It's obviously not "always applicable": I've never taken steps to conceal ill-gotten gains and neither have the vast majority of people.
Elon Musk's buddies are mad they're receiving subpoenas
> Having a single "platform" team per company is a bottleneck as soon as the number of product teams is greater than N.

This is my experience as well. Having a single platform team has been a great experience for laying foundations, establishing shared architectures, and centralization documentation.

As soon as two or more teams need something from the platform team, it becomes a battle of priorities. A good platform team will recognize this and work on a division of labor and coordination strategy that can start to scale. A bad platform team will treat this as an opportunity to claim the company’s wins for themselves and leverage their bottleneck position for political gain.

The company’s management of the platform team is key. I’ve also seen a single platform team abused as the engineers who are expected to own all the hard work while other teams get to walk all over them with demands. This results in a lot of employee turnover, which is the opposite of what you want on a team tasked with holding the core knowledge of the company’s infrastructure.
I'm curious why governments don't have a driving test for "self-driving" AI's just like they have a test for 16 yr old teenagers claiming they are ready to drive
Another contributing factor in my opinion is that companies would rather outsource entry level dev work to foreign countries with cheaper labor. I have a feeling this will backfire in the coming years as companies struggle to find sufficiently experienced senior devs.
No, people aren't hiring junior devs, and haven't been for a long while. What they are hiring is people who have seriously built stuff; not "a webapp", but stuff in specific niches where they've essentially got past what would otherwise be the first year of industry training on their own.

And even then you have to hustle. Get yourself tickets to conferences (if you've built stuff, many niche conferences have free/subsidised tickets for open-source devs) and talk to people who are hiring - not the people who have the booths, but the people in the audience.

The idea that most people can just apply to jobs cold and eventually get one is essentially a lie, ime.
Shows up fine in canada.
A world where proof-of-work meant "prove that you cleaned your/my/someone's kitchen" would be a much better world.
Absolutely. And I'm not particularly partisan in this: I like Erlang ( the language in general as well as the concurrency model) and if Java moves closer to that then all the better.
Why macOS Ventura Share menu is bad
I agree that they are awkward. I've solved it similarly by defining a custom handleFunc [1] and a custom errHTTP struct [2] which contains the HTTP response code and even more detailed error codes. It is very nice to work with.

Like so:

if err == util.ErrLimitReached {
return errHTTPEntityTooLargeAttachmentTooLarge
}

Or so:

if err != nil {
return wrapErrHTTP(errHTTPBadRequestActionsInvalid, err.Error())
}

[1] https://github.com/binwiederhier/ntfy/blob/main/server/serve...

[2] https://github.com/binwiederhier/ntfy/blob/main/server/error...
On average, the CS grads we hire are so much further along in their journey than a bootcamp dev, yet the starting salary asks are about the same. I know there are some organizations that are a bit more desperate for anyone who has the capacity to learn to code, but we also have been exclusively hiring CS grads with far better results.
> Bitcoin has one defense against this attack: coin control. The way Bitcoin works is as if every time you wrote a check, you had to also include a list of all the other checks that the money comes from. So you can technically avoid implicating yourself in financial crime by not writing "payable by Iran/NK super hackerz" on your checks.

Isn't this terrible for freedom? When I pay with fiat, I don't have to include a list of where that fiat came from.
Regulators: Please forward all unexpected deposits from (addresses) here: @address

If not done past date <whenever>, add account to OFAC.

Not an issue.
What exactly is a "Conflicting duty"? What's stopping a company from stating that developing, deploying and supporting software is a single duty?
Since English is hard for you, it's spelled synecdoche and is hardly an excuse.
Volcanoes emit a fraction of CO2 that humans do, https://www.climate.gov/news-features/climate-qa/which-emits...

Even if you continued to believe that they did, you'd have to point to evidence that volcanic eruptions happen to have drastically increased at a smooth rate in line with global industrialization and fossil fuel burning. https://www.co2levels.org/
Altium is like the Solidworks of ECAD. Intuitive enough to pick up pretty quickly and you can get pretty far with it. It's also frequently buggy and the company is not responsive at all, if you file a bug report you're lucky if they fix it several releases down the line. Hope you paid the thousands of dollars for the support subscription.

Orcad is, I dunno the Catia? Was the "serious" software back in the day so preferred more by greybeards who scoff at using amateur stuff like Altium. Interface is much more dated and less intuitive. A company I worked for had a mild mutiny because they hired an Apple guy that insisted that everyone learn and switch to Orcad and the EE team just balked at it.

If Kicad can catch Altium on usability and handle dense, complex boards then it could be the best package out there. Just the fact that they actually fix bugs puts them at an advantage. They may already be there, I haven't played with it in a while since I'm at an Altium shop.
> The performance-per-Watt [of the M2] likely comes out ahead of the AMD and Intel CPUs given the raw performance results and how unusually cool the MacBook Air remained during the benchmarking in comparison to the Intel / AMD laptops. But for lack of SoC power consumption monitoring under Linux yet for the M2, there isn't any firm numbers to share at this time. But given the competitive raw performance, it's suffice to say that the M2 likely leads in performance-per-Watt in at least most of the tests.

However, that's for CPU-only. As mentioned:

> The big elephant in the room when it comes to the M1/M2 support on Linux is, of course, the GPU. Running Asahi Linux on the Apple Silicon devices will lead to just the LLVMpipe-based software OpenGL implementation.
A common trope is "this replacement (nuclear/wind/solar) isn't perfect so lets keep building fossil fuels"

Every 1kwh produced by a windmill is 1kwh less of oil being burnt. We don't exactly have an abundance of energy at the moment, there's no excuse not to be diverting vast amounts of planetary resources into renewable production.
Lack of enough humans to be senior devs, with many companies having tons of vacancies. They're saying that you need an influx of working juniors who become seniors, but if everyone is only hiring seniors...
Yes I agree there, that I’m saying my legs are magical and others are telling me they don’t exist at all.
you're absolutely correct. a colleague working on getting all the certifications he can get was telling me how his boss explained that is what the consultancy actually sells.

this seems to always happens, is this the commoditization of skills?

All work is done with some kind of a redundancy: no particular individual's skills are permitted to really move the scale/balance. All work is done by teams; only the whole team matters such that the individuals are replaceable across all teams.

Any team member can fuckup, drop the ball, get hit by a bus such that the work carries on unimpeded.
These and even much smaller providers are usually known to spammers. I've had poor luck with them.
Every person and their dog is headed to bootcamp now or is taking Udemy courses.

One of my companies gets people who don’t know what Git is interviewing.

After a while, yeah, trying to filter through all the crap becomes too much work and we rely on degrees and other hard to obtain stuff.
As a senior dev, I don't see the problem with that. If anything the number is a bit lower than it should be.
Co-host Shaun Weston and I discuss Amazon Care, Elon Musk’s latest ups and downs, Facebook’s downs (mostly), AI balls, Ted Lasso, and the England Lionesses. Plus, Rick finds out when he will die thanks to the Population.io website.…
The comments section needs a page level [+] and [-] control. If you hit the [+] then all comments on the page are displayed. If you hit the [-] then only the top level comments are displayed. You are then free to drill down into (or collapse) any comment thread independently. This is a shortcut from having to scroll down and collapse every thread if you only want to look at direct comments to the article and none of the replies to them.
Nice one, does it handle port forwarding from inside the OpenVSCodeServer container?
Enhanced hot swap using GraalVM has mostly caught up with capabilities https://www.graalvm.org/22.1/reference-manual/java-on-truffl...
That’s a restore not a backup. I’m not actually defending dd. It’s bonkers how long it was considered acceptable to offer that as a solution for anything except zeroing out a disk. I shed a single proverbial tear and contemplated the sad state of technology every time I used it, and felt dirty for having done so.

It is The Worst.

It’s just the most egregious example. The difference in excess argument processing between commands is rather broad example. Is the last arg special or the first one? Grep and tar are in the majority, but cp works differently. They only make sense if you think of the power user.
Weird to call it a "troll," like Tor is trolling servers to send data or something. It's a strategy.
That's not super different from having money in Voyager before they halt all trading.

Losing you whole account is just business as usual in crypto.
I have found that I can greatly increase the signal to noise here by simply collapsing the first comment ([-]). The first comment to a Hacker News article is usually, almost but not entirely, unrelated to the ideas in the article. It will be an idea that can be comprehended with little thought. As a result it attracts a lot of low effort responses.
There's been stories recently about "the Republicans are going to steal the next election"; I know at least one person who firmly believes (and often mentions) that 2016 was stolen from Hillary by Russia... Think those count? Should we worry about commitment to our American polity?
Seems a rather theoretical problem to me because usually an external library is used. Also in the underlying http response first the return code is written before the body. This matters a lot when for instance copying a buffer into the response
USAA's "Cybercode" logon options are god-awful. It's Symantec VIP wrapped in their mobile app.

I have no idea why generic TOTP with backup codes is not an option for every site on the planet.
Why is this thread flagged? It looks like one mod is abusing her power.
I really doubt it's a hard delete.
It's always hilarious: Whenever any company is caught not taking X seriously, the first thing they do is issue a press release that starts with "Here at COMPANY, we take X very seriously!"
Digimon was a spinoff of Tamagotchi for the male audience
It was like this in the last recession, junior profile were shunned because senior profile were available on the market.
Hello HN,

PyNeuraLogic is a Python framework that allows you to write differentiable logic programs.

With the declarative language behind the PyNeuraLogic, you can express various deep learning architectures - we mainly focus on Graph Neural Networks and lately on Meta Paths, Meta Graphs, and multiple extensions of GNNs. Despite that, PyNeuraLogic is a generic framework not necessarily tied to GNNs - we provide predefined modules for more generic modules such as RNN, GRU, or LSTM.

We have decided to build more tooling around PyNeuraLogic, to support more generic usages of the framework and make the whole user experience more pleasant. During this phase, we implemented a tool (the post's main focus) for transpiling your deep learning models, written in PyNeuraLogic, to SQL code. This means that you can simply export your trained model into SQL and evaluate the exported model directly in a Postgres database - no extensions, just plain (PS) SQL.

We are looking for your feedback!
This evidence Twitter has 5.4mm actual accounts?
Why the arbitrary limitation to the “big providers” - you can get a basic Tello plan with SIM for $5/month prepaid - and they’re a T-mobile MVNO so it’s a T-Mobile number.
Well, there were books and papers warning about the societal, emotional, economic, and environmental impacts of a technocratic society as far back as 50-100 years ago. Don't you think that a little fear and panic, at this point, are justified?

And aren't there enough religious people inducing fear and panic into society still today?

I once heard that you will not meet a more dejected and depressed person than a climate scientist. Imagine warning about things for literally decades or your entire life, being ignored the entire time, and only to be asked in the present "why didn't you warn us?!" or "what's going on?!".

Fear is justified because we honestly don't know about some of these things. Dynamic systems with bifurcations, chaotic behavior, and tipping points are difficult to understand even when they're laid out in front of you, much less when you're trying to figure out what the dynamic system is (in the case of the climate and environment, although we do know a lot). Does it even make sense to continually push the boundaries to see what we can get away with? Do humans realize that this Earth was not made for them and that there were times that humans could not be supported by the Earth's environment? In our daily lives, we stress certain behavior of planning and restraint, but we are incapable of doing so collectively.

Literally the simplest thing in the world to do is to restore lawns and grass areas with native plants (wildflowers, bushes, trees, etc.), and yet no one is doing it. In fact, we're still destroying habitat. And then people write articles like "where are the bees and butterflies?".
I'm assuming this is being pushed/placed by Meta/FB PR.
don't say you're a junior dev
This probably wasn’t even considered a few years ago, but now that most companies have figured out their remote workflows it’s just another line item.
oh interesting. When the article said he was in first gear and the poster above mentioned a handbreak I assumed he had a stick
Lead was used in Egyptian pottery many thousands of years ago.
https://twitter.com/ultrahax/status/1200902654882242562?s=20...

It's some python on a GL-AR750S-Ext https://www.amazon.com/gp/product/B07GBXMBQF/ so I can turn a knob and manipulate latency, jitter, packet loss etc. to traffic going through it. You can read knob state ( and write back LED state ) straight from /proc
Yes I always wonder how commonly known this interaction is and how easily lethal. Where I grew up there was still a lot of stigma against openly committing suicide. But a handful of our fathers and grandfathers had "gone hunting" at night in january with a bottle of whiskey and predictable outcomes. If it's reliable and deniable enough for suicide it'll work fine for police murder too.
I don't mind the slightly different versions, that's what documentation and SO is for. I mind the language being a garbage kludge of organically-grown syntax and semantics, with not the slightest hint of a single principle or a unifying idea. And I mind that the vast majority of interfaces to it from a general purpose PL is fucking around with strings like a caveman, instead of a typed, IDE-assisted, first-class representation as a full-blown language construct or mix of constructs
I learned never to trust locks in real POSIX environments. There's a tradeoff being protecting integrity and liveness and the UNIX culture is to prefer liveness.

In Microsoft Windows locks have a lot more authority, such that it is possible for two Windows machines to connect to a Microsoft Access database (file-based, a lot like sqllite) over a file share and not conflict with each other.

Windows machines go out to lunch a lot waiting for locks to clear so that is your tradeoff.
Yes I'm in New Hampshire in that very unfun drought right now. But droughts like this were the norm. Now they're more rare.

On drought.gov if you scroll below the map and click 1895 - Present in the graph at the bottom of the page, you'll see just how common droughts in NH used to be compared to the much high "abnormally wet" conditions of today.

https://www.drought.gov/states/new-hampshire

try clicking D3 / W3 or D4 / W4 also to get a good picture of how it's changed.

Post 2000's NH has had the most extreme wet and the least extreme drought of any time period (except maybe the 1970's)
Hack this instagram account
Username dosanjh_fan_page234
Do fast
I would put it differently: C# has a higher performance ceiling due to it having access to lower level controls (mostly value types), but for idiomatic code, there really is no such difference (and if there is any, I would say it goes towards Java). Also, for programs having very dynamic allocation patterns, Java’s GCs are the state-of-the-art and are basically impossible to beat.
I wouldn't say "hard" but I would definitely say different.

Even as somehow experience dev, getting on board in a new team is quite hard if everybody is remote.
> The result is a …dialog—not between a commenter and people who replied to his comment—but between different commenters who steal the focus of the discussion to their own opinion.

I struggle to see what’s wrong with that. If I watch a movie with a friend, should our post-viewing discussion be restricted to certain subjects? The wide ranging discussions in the comments can be irrelevant to me or quite fascinating and more relevant to me. The original article deserves no priority either way.

Also, the author talks about the effort of selecting photos. I’m glad they footnote. But please, if you want me to read your article don’t go to this effort. If there’s a photo it should be germane and often easy to to get, like the picture of the HN front page. But an orange box with the HN logo and an inkblot, or the embedded video with some rando talking? That crap is just visual junk that interferes with reading and gives me at least the impression that the author isn’t serious. I understand Medium requires a junk photo or more and it’s one reason I rarely bother to follow a link to a Medium post.

BTW this comment took longer than ten seconds to write.
We are. Most roles can be remote even if not explicitly called out:
https://finra.wd1.myworkdayjobs.com/en-US/FINRA/jobs?jobFami...
Feel free to contact me if any of them need a resume put on top of the stack.
Example of that $1000 type labor job to that sensor. https://m.youtube.com/watch?v=S-eK5fH9f3s . Insanely poor design for repairs.
I said this before years ago about Signal, Robinhood and Coinbase [0] and right now it's 2022 and SMS 2FA is still being used despite SS7 attacks, SIM swapping, one-click zero-day SMS attacks as found in Pegasus and sophisticated SMS phishing attacks. [1]

Really. One needs to think about logging into any service that requires ONLY Phone number 2FA and this should be a wake up call.

Twitter really should get a massive multi-million dollar fine for this breach.

[0] https://news.ycombinator.com/item?id=29264937

[1] https://news.ycombinator.com/item?id=32385362
I don’t know why anyone would hire a junior. I was an utter loss for the first two companies I worked for.

They basically paid to train me and then I went off to a far better paying tech company that doesn’t hire juniors.

In a highly liquid market like tech, you can’t really afford to invest in people as they cost the same as just hiring off the market to retain/replace.
CEO Mark Zuckerberg is 'creepy and manipulative,' says Meta's new AI Chatbot