skysight-inc/HackerNews huggingface dataset:
This is quite one sides view. There are many many examples such as Word, Excel, Google Maps, Gmail, FB Messanger etc started as “startup within big co”. Initially they were small, people worked hard and then they become very big. When they were small (<50) people, those early folks ripped similar rewards as early startup employees. Many later became distinguished engineers, CVPs raking many millions over the years. I don’t know when you joined PowerBI but the probability of you getting disproportionate rewards if you weren’t in first 50 employees in usual startup is not very high either.

I don’t agree with thesis in this article. Yes, most startup efforts in big co fails but failure rate is probably not worse than usual startups. For successful startups within big co, rewards are pretty huge as well. For Waze case, I had argue that they were already running out of steam when they joined Google even though they continued growth. It wouldn’t be feasible for them to compete effectively while growing exponentially with strong and free product like Google Maps as their competition. I am doubtful if Waze employees would have faired vastly better as independent startup.
Ah yes, the VSVN logo, truly an icon.
Also my city feels much more dangerous now. PReviously with loads of people always milling around I would feel safe walking around alone at 2-4am going home from bars.

Now it can feel pretty dodgy as soon as its dark in the city centre. No one has any reason to be there so the junkies, homeless and others have seemingly gotten more brave.

I was in the city centre around 9-10pm a little while ago and it was almost 100% drunk / high / homeless looking at me really weirdly and got approached by a couple in a semi-aggresive way.

That had never happened to me in the five years I've lived here previously.
Give EKRE a few more years ...
It is much harder to enforce the discipline of those practices across modules boundaries than around network boundaries. So in theory yes you could have a well modularized monolith. In practice it is seldom the case.

The other advantage of the network boundary is that you can use different languages / technologies for each of your modules / services.
The author appears to be trying to use error messages in their own code to debug it which is a pretty weird way to use error messages. Error messages are for humans and users. If you are developing your own code you can just use a debugger to debug the problem.

Assuming they only had access to basic tools they could have just plopped down a breakpoint in the relevant error return from copy_from_process() and slowly walk up to discover their nullptr error pretty quickly without any code changes. If they had modern tools they could have just turned on tracing and then run backwards to figure that out and where the nullptr came from.
Well if you convert everything from ORM to raw SQL, it will then be easier to extract all of that SQL and use it in a different web framework once you've measured and confirmed that your bottleneck is servicing requests in Python.
> having quality time in the sun with friends.

Here in the UK we're not really even allowed to see friends outside.
I would love to see this in my WebStorm! I often did premature commitment and then I used undo and redo. Then I learnt that it is hard to code. Now I am slower in decisions which does not quite help me be productive but calms down premature commitment.
New technologies vs. old ones. What stack to choose for software project?
never really understood this severance. You can drink without getting drunk.
I like to drink good beverages, but I don't like being drunk, so I just take a few glasses.
I've thought this way for some years now but I've always thought I was the only one. Travel is so ingrained in the psyche of people I know that I thought even mentioning it would have me marked as a killjoy.

I would think that countries that rely on tourism or ones that have switched from manufacturing to a service economy would strongly object and vigorously oppose the trend (that's if there is one).

Places such as Australia, Hawaii, and Mediterranean countries such as Greece, Italy and others that heavily depend on tourism would be bitterly opposed to any such move.

Is this seriously been thought about elsewhere other than in this article or is the author just kite-flying?
This is very interesting but I picture the image of sitting alone in a bar, which is not the kind of thing I'd want to picture.

Meaning, all this stuff I usually try to tune off or ignore when I am(was) out.
Good for you. Finding happiness that works for you and the rest of society is the most important thing there is. I tried a way of life similar to yours for many years, but I always found before long I would want sex with a real person. Also that person has to want to have sex with me. It can't be overtly a business transaction.

You are very, very lucky to have been able to find true happiness alone. You'll always have yourself and you won't be responsible for anyone else or have to worry about them. Some people might look down upon on you because you're not "doing your part" or something, but remember Stockholm syndrome is a real thing and you don't owe anyone anything.
> Error handling has been wrong since the beginning, and has continued to be wrong ever since.

Maybe it's not error-handling that is the problem then, but undisciplined software developers writing bad code?

Out of all the engineering disciplines, us software engineers have to be the worst bunch by far.
The question isn't microservices or monolith. The question is: What problem are we solving, and what's the most efficient way to solve it?

Requirements should dictate architecture. Data should dictate the model. Avoid unnecessary work. Be mindful of over-engineering.
Was the rewrite to microservices really the problem here? I’ve worked on a few such projects too, where we decided to rewrite the application, but it never ended up replacing the old existing one. Technology was never the issue in all these.
The rule of thumb for me is `thiserror` for libraries, `anyhow` for executables. Seems to work well enough in the vast majority of cases. I do agree that the Rust way can be frustrating at first. But then, at some point it becomes clear that being forced to keep your error conditions in mind at all times is actually a healthy thing. Then going back to languages where code may fail anywhere seems less than optimal. Sort of like the difference between securing your ropes and just crossing fingers.

As a side note, I've found that getting used to `Result` actually gives an added benefit of getting comfortable with the idea of such computational contexts in general. Be it Options, Maybes, Futures, Promises, Haskell IO, or anything of that kind.
Can't argue with that. Low power demand accelerates decommissioning coal based power plants that was planned already. We save some CO2 with that short term. But demand will bounce back eventually after the pandemic and things will not get better without significant investments in power generation. And massive demand is what drives the investment.

In CO2 free future we'll have all of home heating running on electricity and all of our transportation too. Power generation needs incredible amount of investments over the next 50 years. I believe crypto mining might drive those investments so we are ready for that future.

Even now there are instances where flexible demand of crypto miners helps balance the grid now: https://www.bloomberg.com/news/articles/2020-09-01/bitcoin-m...
I am interested in the long term effects you describe. It's quite commonly known that there are consequences such as HPPD etc, however this is usually quite immediate. Any specific examples you can provide?
One use case I can think of is creating a series of previews with consistent styling, regardless of current editor/terminal configuration/font rendering settings.
Someday I will attempt to use some rust software from the internet without almost immediately running into a panic with some inscrutable message.

Maybe that day will be a day after _f$#$@@#$_ _crashing_ stops being the easiest and most idiomatic way of handling unexpected conditions.
I'm drinking more since the lockdown. Not excessive by any means but about a bottle (.5l) of beer every day and sometimes a small glass of scotch.

It makes it easier to draw a line between work and leisure time. The alcohol signals to me and my brain that now it's time for some relaxed activities ... well, youtube, netflix, mubi, reading (hacker)news.
That's not great if you still want to use the underlying value, because then you need to unwrap it later.
> suggest there is something attractive about such places even if you take the sex away.

Erm, you don't just like going to a pub or a bar with friends? Even if you don't, lots of people do. Perhaps what's different about you is that you assume your own tastes are universal... actually that's all too common with humans!
> Attempting to get the complete set of error types that any given call may raise is a fool's errand because of the halting problem it eventually invokes.

That’s not true.
Leetcode interviews are thing everywhere now. The days of getting an interview from medium/large firms because you have 20+ years of experience on your resume are over. A lot of companies use “online assessments” with timed leetcode problems that require presumably perfect scores to even get a human on the phone. They seem to range from comically easy (Amazon) to impossibly difficult (Microsoft). I highly suspect they are outsourcing this and the questions are chosen randomly, as the difficulty varies wildly for identical positions.

Maybe this is a recent pandemic thing, not sure. I started job searching this year and I’m totally blown away by leetcode-ification of hiring process.

There’s a few notable exceptions- Facebook and google will fast track based on resume, and some medium sized companies if you’re applying for a specialist position. Otherwise you’ll be spending nights and weekends drilling all the silly leetcode tricks into your skull.
VSCode also has a local history plugin. One of my default installs https://marketplace.visualstudio.com/items?itemName=xyz.loca...
C is pretty easy to learn, and the larges community is probably the embedded/maker one (with some c++.... micropython is slowly crawling in tho).
It's not about "how good we have it", it's about logical compensation policies.

I literally just left my job today, because they refused to give me a raise due to my location (and pay level). I got a much better offer in a slightly more expensive location (I can move).

It makes no sense to tie pay to location when you aren't competing solely in that location. Your employees can move to places with better pay and benefits too (or companies that don't strictly tie compensation to location).
Most Asked JavaScript Interview Questions and Answers – Part 2
And yet people still do it, always accompanied by a reference to the guidelines.

This isn't HackerParliament, I don't mind people venting about bad web design.

Moaning about clickbait, however, I immediately downvote because it actually does contribute nothing.
I recently got introduced to the Laravel framework in php. I think it's probably the best implementation of a monolith web framework right now. Php is very simple if you come from c/java and the framework provides you with so much functionality out of the box.
Great blog post here exploring the different methods of generation: https://huggingface.co/blog/how-to-generate
In NetBeans there is two big buttons on top of every file view. Source and History. Very easy to get to and has been used a lot :-)
I take a scout group on a week-long bike trek on the C&O Canal towpath most summers. That's a flat but unpaved trail, and most of the kids have hardtail mountain bikes because we also do trips for singletrack mountain biking. Over the course of the week, all the kids doing the trip for the first time get faster from day to day. When they start out and don't take my advice about tire pressure seriously, their sustainable cruising speed tends to be in the 8-9mph range. High tire pressure (and careful attention to ensure the brakes aren't rubbing) gets everyone up to at least 11-12mph depending on how hot the weather is. Drafting gets the group up to 14-15mph.

So basically, in my experience on longer rides a low tire pressure will prevent you from getting up to the speed where aerodynamic drag is a big concern. And on hilly terrain you spend a lot more time either climbing at speeds far too slow for aerodynamics to matter, or on descents where you have no trouble at all overcoming drag to reach unsafe speeds.
Check Graal ecosystem or Racket (if you are into programming language theory more than compilers).
Ask HN: Game developers is finding a job more difficult than other CS positions?
My cousin is looking at career paths and likes the Human-Centered Computing option at University [https://cse.umn.edu/cs/track-electives]. I hear that game development is ultra competitive and difficult to to find a steady job. I'm a systems tech so I don't really know.
Now that I'm thinking about it, finding a job might harder but aren't alot of jobs difficult to get out of college? Any suggestions or insight I can relay?
I've been messing with this using moleculer and node on a project. Feels like a good compromise.
That's not proof at all. Building grid infrastructure that can function below 20F in regions that reach that temperature regularly is easier in important ways - in particular, if a new piece of infrastructure gets built that can't cope, the problem will happen early on and either get fixed or worked around, whereas somewhere like Texas can build up decades of new infrastructure that can't cope with the cold before anything happens to demonstrate that.
This article predates Kubernetes, EKS, Lambda and a lot of other stuff that vastly change the discussion.

Much easier to get going with micro services off the bat today. Not that it’s always the answer.

Heroku is a good platform for small scale bootstrapping too.
I've only recently started using JetBrains tools - and I did not know this feature existed!

Thanks for mentioning it - absolutely perfect!
Legally, though, in solitude. In Germany only one person can officially visit another household. I think that is excessive bullshit which is why I do break this rule occasionally.
For software engineers wanting to get into hardware design, the most important thing to remember is that it isn't software, despite feeling a bit like writing software. Writing instructions and describing hardware are very different, regardless of how much a HDL may try to hide that difference with similar looking constructs.
Socialising inside a home was restricted pretty early. Those socialising at home are breaking the law, it's just not something that can be enforced very easily.

Our government demonstrably is this incompetent. Not just on coronavirus.
Arbitrage keeps FRAX price-stable
"FRAX can always be minted and redeemed from the system for $1 of value. This allows arbitragers to balance the demand and supply of FRAX in the open market. If the market price of FRAX is above the price target of $1, then there is an arbitrage opportunity to mint FRAX tokens by placing $1 of value into the system per FRAX and sell the minted FRAX for over $1 in the open market. At all times in order to mint new FRAX a user must place $1 worth of value into the system. The difference is simply what proportion of collateral and FXS makes up that $1 of value. When FRAX is in the 100% collateral phase, 100% of the value that is put into the system to mint FRAX is collateral. As the protocol moves into the fractional phase, part of the value that enters into the system during minting becomes FXS (which is then burned from circulation). For example, in a 98% collateral ratio, every FRAX minted requires $.98 of collateral and burning $.02 of FXS. In a 97% collateral ratio, every FRAX minted requires $.97 of collateral and burning $.03 of FXS, and so on. [...]"
My goofy lil' homemade editor does it this way: If you go back in the past and change it, the future becomes the past. This might sound confusing, but effectively it means that the undo stack contains the actual history of "what happened". This means you can hop to any past or future state linearly with undo & redo alone. I just find this easier than navigating tree GUIs and things that aren't worth the trouble to me. It can still lead to a bit of mental gymnastics in extreme cases.

https://github.com/zaboople/klonk

Note that in theory this can cause an exponential growth of the undo/redo stacks because it makes an upside-down copy of the future when you change the past; but in practice it's never been an issue.

I was thinking of adding a feature to navigate back to "last change-the-past", which wouldn't be hard.

It at least makes more sense than most science fiction time-travel plots...
Scientists Achieve Real-Time Communication with Lucid Dreamers
> But is linking the right way to couple business logic from two different organisational units

I think it's not, but I would like to hear other opinions.
We had very similar settings where our codebase was built modular but deployed as monolith. At once we wanted to scale just the Queue processor module out of. We did deploy complete monolith and only enabled Queue processor on other machine. It did add up to extra memory & disk usage. But in the end it helped our team to deploy without going through microservice architecture.
How to build complex Well-Architected Serverless infrastructures
And to get something closer to OP there is always undo-propose.el[1].

[1] https://github.com/jackkamm/undo-propose-el#screenshot
> In most monoliths you will see all forms of behavior and that is the primary problem with monoliths. Invoke any client anywhere. Determine the requests context anywhere. Put business logic anywhere. Format a response anywhere. Handle errors in 20 different ways in 20 different places.

This just seems like a poorly (or not at all?) designed monolith, if there's no standard way of doing things, of concerns or responsibilities of various application layers? I mean I've been there too in organizations, but it just seems like we're skirting around the obvious: the system should've had a better architect (or team) in charge?
Interesting company with a simple idea and a great execution. I saw some report on YouTube 1-2 year(s) ago. Thanks for mentioning them.
In my country, the UK, you can be fined for going a walk to a park if it isn't the closest park to your home. Basically if the police want to be arses to you they can ask you where you are going and why you are where you are, if they dont like your answer you can be fined.

There was an article in the BBC a while back about two friends that met up for a walk in the country side, they drove to the meetup point. It wasn't the closest place they could have walked so they got fined.

Also IIRC, they were carrying a cup of coffee each so the police said technically they met for a picnic.
"If the market price of FRAX is below the price range of $1, then there is an arbitrage opportunity to redeem FRAX tokens by purchasing cheaply on the open market and redeeming FRAX for $1 of value from the system. At all times, a user is able to redeem FRAX for $1 worth of value from the system. The difference is simply what proportion of the collateral and FXS is returned to the redeemer. When FRAX is in the 100% collateral phase, 100% of the value returned from redeeming FRAX is collateral. As the protocol moves into the fractional phase, part of the value that leaves the system during redemption becomes FXS (which is minted to give to the redeeming user). For example, in a 98% collateral ratio, every FRAX can be redeemed for $.98 of collateral and $.02 of minted FXS. In a 97% collateral ratio, every FRAX can be redeemed for $.97 of collateral and $.03 of minted FXS."
NetBeans also have this but it's set to 7 days as default. Never looked into this before, just thought it was broken but you can save it for eternity if you want :-)
Interesting. I'll check them out.

Thanks.
Lol, Thanks, i didn't know that.
> Yep, the UK went full authoritarian pretty much straight out of the gate

We really didn't. Had we done that, we may have succeeded in controlling this thing. Instead what happened was too little, too late, over and over again the government shut the stable door after the horse bolted.
Through hole connectors are nice to use for rugged designs. And incidentally, you can find 3.5mm connectors that are rated for power (eg: 1A).
A friend and I debate this topic all the time

Is this time really different?

Pro:

1) Automation and Ai is replacing white collar work this time. There could truly be insufficient job creation as we see already with the gig economy

2) As Charles Murray wrote preciently in the 90s a great spoil of the wealth goes to people of higher intelligence. People in these walled gardens (literally sometimes) cannot relate to life on the outside. E.g. article today on front page about more Americans than working 2 jobs and the top comments there [A]. Also seen with the increasing wealth gap and increasing in wealth for the uber rich after covid and 08. There is no catching up especially with fed policies that reward existing asset owners

3) There may come a time where there is no marginal use for labour at a living wage

4) The ubi has already started and will now just accelerate. E.g. earth as portrayed in the expanse

Con:

5) Libertarian argument: this has all happened before. Human wants and needs are unlimited. Labour is a scarce and valuable resource. There will always be jobs maybe at lower nominal wages but higher real wages if govts stop controlling interest rates and let prices fall

I'm on the con side of the argument but I can't think of anything more compelling

Hope this article becomes popular as I look forward to expanding my horizons via the educated hacker News crowd

[A] https://news.ycombinator.com/item?id=26184012
Wasn't that something we all knew already? People are what make cities worth living in, the point of living in a city is to be close to more people, and that naturally involves some compromises (though I'm all for non-grey buildings and minimising the space devoted to cars - something my city is fairly good at).
Ask HN: How do you handle API-key generation/management for your SaaS?
I need to implement API-key generation and management for a multi-tenant SaaS.

How have you implemented this for your SaaS?

The API-key system I'm designing needs to support:

* Instant revocation
* Different application access levels (e.g. "read-only" and "read+write")
* "Read+write" API keys should be able to generate new API keys and revoke old ones (a "read-only" API key must not be able to do this)

Notes:

* I already use Keycloak for user+password logins
What are these _open source_ licenses, which require you to link to the full source code? I might not have seen such a license yet. Usually "open source license" equates to MIT license and BSD licenses, which do not require you to link to the source code.
For the last 60 years even! Fusion power was ~20 years away in Stanislaw Lems Summa Technologicae in 1961.
Oh and now I'm being downvoted for pointing out a fact. Well done HN. ¯\_(ツ)_/¯
>Absolutely Joe Rogan helped make podcasts the phenomenon they are today, but so did a whole lot of other people. Same with PG and Altman: “startup culture”

Ricky Gervais really got the ball rolling on podcasts early on. I'd credit much of it to him, Steven Merchant and Karl Pilkington. Frankly I think that podcast still represents the best work in the medium.
Puff microwave CAD software on Linux
‘ENS deposit whale’ has $76M worth of Ethereum waiting for them
There’s $76 million worth of Ethereum waiting to be reclaimed by whoever owns darkmarket.eth and 30 other ENS domain names.
At digitally induced we're always looking for great developers to add to our haskell team: https://www.digitallyinduced.com/JobPositions :)
That's not how adversarial networks work