skysight-inc/HackerNews huggingface dataset:
Breaking a monolith to microservices generally involves rewriting the monolith piecemeal and gradually replaced in production. This is opposed to a Big Bang rewrite, where the entire product is set to be replaced with something written from scratch. The Netscape 5 rewrite is the classic example given by Joel Spolsky, as the first (and so far only) "Thing you should never do"[1].

On the other, extracting parts of the monolith, rewriting them and replacing them piecemeal is essentially a distributed version of refactoring, which is generally agreed to be the right way to handle legacy code.

[1] https://www.joelonsoftware.com/2000/04/06/things-you-should-...
I did not know, but guessed as much, given that Dutch shares a lot of German grammatical structure. Thanks for the confirmation and the examples. :-)
My ideal binary format would contain exactly the types supported by json + binary - arbitrary size numbers. It would be something like this, maybe:

- 'n' - null
- 'f' - false
- 't' - true
- 'i' - int (64 bit, little endian, two's complement)
- 'd' - double (64 bit, ieee-754)
- 'a' - array start
- 'o' - object start (must contain even number of values)
- 'e' - array/object end
- 's' - utf-8 string chunk (64 bytes, must be followed by string chunk or string)
- 'b' - binary chunk (64 bytes, must be followed by binary chunk or binary)
- 0x80-0xbf - utf-8 string (0-63 bytes)
- 0xc0-0xff - binary (0-63 bytes)

It is at least an order of magnitude simpler to implement than almost all of its contenders. It is just not as concise and doesn't support a rich set of data types (but then again, json does quite well without a timestamp type). It supports streaming. It has a unique representation for every value (if you ignore that ieee-754 can represent many integers and objects have no defined ordering). Reading a single byte can tell you in every case the type and the amount of payload data that follows.
Open in Reader View extension for Firefox, Chrome & Opera: https://add0n.com/reader-view.html
You can disable automatic synchronization from BTS, and install some Android application for NTP time synchronization (for sure there are plenty of them). Then its win-win.
Uhhhh i was gonna say what i really think about this app but... if u want me to say something nice first send $1 (venmo @johnromero44) but if u want me to really go off on it cough up $5 i will be waiting for 5 minutes thanks
>Working over 55 hours a week associated with higher risk of stroke, heart attack

on correlation vs. causation - may it be that the anxious, self-insecure, etc. people, ie. the people who manage stress badly, are more prone to those health issues as well as to those long stressful work hours?

For example anxiety - one of the source for it is bad oxygenation which in turn may result from the bad sitting posture (which makes harder for lungs and heart to perform their natural movements). As result your mental performance drops with corresponding work results. As a parallel result your heart works harder trying to push the blood, and the blood pressure rises, and your brain blood vessels are trying to expand and become more penetrable (i.e. the walls expand and get thinner) in order to get the enough oxygen to the brain tissue. This happening regularly naturally makes the foundation for the stroke and heart issues.
Here was I thinking “tab” was for “tables”
Woah, so this happened. Maintainer here. I'll do my best to reply to all questions/doubts that get posted about an hour from now, since there is some valid feedback and there are some good questions in here.
Building virtual worlds: video games and autobiographical architecture
The thing is, Yoda doesn't simply use an "incorrect" word order. He uses a word order which emphasizes the focus of his sentence by putting it first. Since Hungarian already does this, there is nothing different in Hungarian about the way Yoda talks.
> If this happens on Hacker News, no wonder the rest of the world is even worse.

Is there any reason to assume HN should be better then anyone else?
Quick idea: You could use a different wording that doesn't get recognized by Xcode but sticks out in a similar way. It would take some time to get used to it though.
I think you need to work on your landing page. There's almost nothing on there that makes it obvious to me what this actually does.
> Why are you writing this to me?

I just reply to the comment text

> what is meant by indentation with tabs and alignment with spaces.

but I said at the beginning that this was not good:

> So instead you can introduce spaces for alignment ; now that you have spaces needed for alignment, why not just use spaces for everything instead of two characters ??

In my experience, allowing both tabs and spaces just leads to that kind of mess, consistently: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-... and for zero good reason as alignment is a semantic thing, and tools cannot understand the semantics of your code (at a human level, not a "pl semantic" level)
"Laughs in 90 hour weeks"
Sounds like it was consensual and between adults.
People need to stop worrying about other people’s sex life.
There are cases in which upstream (the original developer) and the Debian packager (Debian Developer) are one and the same. Not many but some. Debian is also the developer and packager of a large set of the core packages.

Upstream can sign or otherwise indicate integrity (e.g., Git revision checksums) of all individual source files. This ... becomes tedious to check, but can be checked against Debian sources to identify where any changes might reside. Note that this still applies only to sources rather than builds, though it's an option. It's likely not an option in wide use.

Debian also ships sources rather than builds, which can be built directly on your own systems (or within your own build-and-distribution network). Debian's had a "reproducible builds" initiative for some years (https://wiki.debian.org/ReproducibleBuilds), and this covers a fair number of packages (I don't have a count offhand), though there are notable exceptions of packages which are simply too complex to build reproducibly. I think the September 2020 summit notes are the best current overview of status, tools, and issues: https://reproducible-builds.org/reports/2020-09/

And, unlike Google Play, it's possible to download from any arbitrary Debian mirror without authentication. Authentication-prior-to-download could lead to branching logic for user-specific modified packages being delivered. Another option of course being for a generically-modified package that targets a single user or specified set of narrow criteria.
But is it correct? I would be surprised.

In any case easy for you is clearly not a reasonable measure!
I'm curious what the approximate cost in life expectancy is from overwork and how it compares to heavy smoking (~10 years), but I was unable to estimate this from both the article and a quick glance at the study on its own.

Guesstimating from [Stroke risk DOI](https://doi.org/10.1016/S1474-4422(19)30030-4), which quotes a global lifetime risk of almost 20% for ischaemic stroke, that 35% risk increase is A LOT.

So the total damage to life expectancy from overwork is probably less than heavy smoking, but not by much-- which is both very surprising and alarming to me.

Note: This is a very rough and unscientific estimate, but Fermi would be proud. (https://en.wikipedia.org/wiki/Fermi_problem)
Yeah, it's a game of numbers. When you have 22 million subscribers and half of them don't trust you anymore, then you still have 11 million subscribers.
As an avid DIYer that suffered from something similar, I've now set myself three rules that really make a big difference.

There are only three reasons DIY something;

1. The item you want is physically unobtainable, and he only way to get exactly what you want is to build it yourself.

2. Existing consumer solutions are much, much more expensive than what you could build yourself (a factor of at least 5x)

3. Building it for pure fun and knowledge with absolutely no expectations that the result will be useful or impressive in any way.

My favourite projects are ones that fulfill all 3 rules :)
Not the OP but this submission looks ok to me
Branding and taking control of your terminal to get more data about you.
With a browser you click on the same icon then reach the desired page, and if the browser employs some form of ad blocking or malware filtering, a webpage can't do much to scan your device for interesting personal data. An app is quite different for being an executable you installed on your device after it requested access to everything, so they manage to get both their icon on your start screen and also run their code on your phone, which is of course a huge security and privacy hole.
> The competitiveness to live a richer area to get better schools is not much of a thing, almost a foreign concept.

I assume Canada doesn't primarily use local property taxes to pay for schools. This whole better schools thing is in higher income areas is a self imposed problem in the US.
It's modelled after JS with the explicitly expressed intent to get web devs from JS to Solidity.

And it worked.
> Like, how many lines of code does the most basic vbox/hbox thing requires in web technology?

CSS:

.vbox, .hbox { display: flex }
.vbox { flex-direction: column }
.vbox > *, .hbox > * { flex-grow: 1 }

HTML:

<div class="hbox">
<div class="vbox">
<button>Top left</button>
<button>Bottom left</button>
</div>
<div class="vbox">
<button>Top right</button>
<button>Bottom right</button>
</div>
</div>

Or was that a rhetorical question?
> Board members at Microsoft Corp. made a decision in 2020 that it wasn’t appropriate for its co-founder Bill Gates to continue sitting on its board as they investigated the billionaire’s prior romantic relationship with a female Microsoft employee that was deemed inappropriate, according to a report in The Wall Street Journal.

> Citing unnamed sources, The Journal reported online Sunday that board members looking into the matter hired a law firm in late 2019 to conduct an investigation after a Microsoft engineer alleged in a letter that she had a sexual relationship with Gates over several years.

Maybe this is just gossip and private life things we should not care about. But I think this is disturbing behavior. Other articles report that he approached many more women over the years.

And then that connection with Epstein. The final straw that allegedly was the primary reason for the divorce.

This really doesn’t look right to me.
To more specifically address the problem of ownership, as it is based on "declared ownership" anyway, with no real way to prevent non-owner to use the artwork (except by seeing that it is not theirs and punishing them, but then you don't need sophisticated devices for that), just embed the owner name in a copy signed (e.g. with a public RSA key) by the author, and that's it.

For transferablity, you can use the public key of a marketplace instead of the author's public key, so that the marketplace can take back the artwork (and reimburse you) and sell it again to somebody else with their new name embedded instead.

See? I can do all of that just with asymmetric ciphers.
Yeah, that was one of the first projects ever.
If there is a power imbalance it is not appropriate. And it seems that this was the conclusion of the board.
I thought they were for aligning columns in a table (hence “tab”), rather than indentation? This goes back to typewriters. Sure you could abuse it for indentation and perhaps that became common practice at one point but it doesn’t mean that’s what it’s “for” any more than spaces.
> I'd strongly advise you not to use tabs for Ruby, just because it's a community very heavily based on stylistic consistency

I've published plenty of gems and open source Ruby work and I choose how I write my code, thanks, and I couldn't care less what the "community" thinks about tabs vs spaces. The "community" believes all sorts of nonsense and if they don't like my code they can fork it and "fix" the tabs. That may sound a bit combative but I don't take well to being told I'm the nail that stands up too much.

My views on tabs changed based on something I read of Samuel Williams (it could be this[1] or this[2]) that was entirely reasonable (note his far more gentle rebuttal than mine with the key phrase being evidence based), and I'd consider him one of the top ruby devs.

As to the keywords example, I use tabs all the time with that style - what problem am I supposed to encounter?

To the other example with the array constructor sugar, I tried it with tabs, I didn't see a problem:

```
helpers = %w(resource scope_name resource_name signed_in_resource
resource_class resource_params devise_mapping)

helpers.each do |h|
puts h
end

$ ruby test.rb
resource
scope_name
resource_name
signed_in_resource
resource_class
resource_params
devise_mapping
```

Apologies if the HN markdown sytax means this get mangled, no idea if it'll take fenced code blocks but you get my drift.

[1] https://github.com/ioquatix/universal-style-guide#indentatio...

[2] https://github.com/ioquatix/rack-freeze/issues/2#issuecommen...

Edit: It did get mangled :/ there's a newline and then plenty of tabs in there. Worked like a charm.
The name is misleading to me. The name implies you can geocode from sqlite querying but this is basically a python package that uses sqlite as the data store for locations to be geocoded and where the results are stored.
Agreed. If the person wasn't a direct report (very unlikely as he was only a board member, not an active employee) it's not an ethics issue for the company. It's not nice to his wife but this is between him and her.
The point being that an exception in C# can be any error. You can throw an exception if the weather is wrong.

A panic is fundamentally something that should never happen. You should catch panics at the root of your application for the sake of keeping the application running. But at no point should you ever expect a panic to be thrown like you would an exception. Errors are for that case.
It’s peculiar that corporations decide what’s appropriate and not, even in your love life.
Exactly this. Go is the language you use when you need to get shit done, reasonably performant and easily distributed to different operating systems.

The language actively hinders any attempts to be fancy or "expressive". You write (or copy/paste) the same pattern(s) over and over again.

On the other hand, you can pick up pretty much anyone's Go codebase and quickly see how it works. No need to figure out what flavour of metaprogramming or other fancy crap the original author was a fan of at the time of writing.

It's boring, it pays the bills. You can be expressive with other languages on your own time.
At least it's not JS, the modern stack is awful and I miss the times when we used jquery and everything worked in IE6 with 2MB of RAM
Here's a visualisation that helped me think about the 4-cube:

Cut the 3-cube with a plane which is diagonal to all axes, eg x + y + z = c. Start at a corner and take sequential sections. First you get a small equilateral triangle, then a bigger and bigger one, until the cut goes between 3 vertices of the cube. Next you get truncated equilateral triangles, with bigger and bigger truncations. In the center of the cube the size of the truncations matches the remaining edges and you get an regular hexagon. Then the whole thing in reverse as half the sides get smaller and smaller, until you're back to triangles.

If you're not sure what it looks like at any point, you can easily solve the intersection of x + y + z = c and the equation of one face of the cube (x or y or z = 0 or 1).

Now do it for the 4-cube. Important observations: 1. again you can solve algebraically, either for the 3-cubes which bound the 4-cube or the 2-squares which bound them 2. you can also just try and imagine the intersection with the 3-cubes, since it will be one of the shapes you thought about in the previous exercise (x + y + z + w = c && w = 1 => x + y + z = c - 1) 3. c goes between 0 and 4, with [0, 2] symmetrical to [2, 4]. There are two 'regions' of behavior, c in [0, 1] and c in [1, 2], with the type of shape only changing when the plane intersects with vertices.
What about combining the tiles?
Not between boss and employee, that is not “just sex”.
NASA Helicopters to Folding Pasta
I don't see how all those results are better of with Sandisk, Samsung etc constantly bombarding everyone with their marketing material. It isn't like you see ads for the small players here.
Some of the examples are rather badly chosen. Specifically the one about Warsaw. Yes, a lot of people might have used public transport while the bridge was unavailable, but the congestion was insane - at one point it took hours to travel what used to be maybe 10 minute trip. You see, the bridge was a major artery linking two sides of the city with no other good links nearby (best option was by rail, but it required considerable detours - effectively I never used it when going to work, only when coming back). Especially since the loss of a bridge meant closure of exclusive bus lanes, as even if they continued the jams involved in reaching the other bridges would prevent any speedup.

There were essentially no other ways to travel, as in N+M notation (N = river crossing capacity, M = spare capacity) Warsaw has been long time operating at below required capacity. Closest example of adding more crossings not reducing congestion involves a bridge which couldn't take up increased traffic because the roads to it were congested...
https://gis.stackexchange.com/ and to a lesser extend https://help.openstreetmap.org/
I will be very disappointed if Bill Gates is a creep.
Are there accusations? Have women came forward and told their story? I honestly haven’t heard anything at this point. I will be very sad if something like that happens.
360 degree reviews without explicit curve fitting.
It is very common that relations with subordinates are not permissible exactly because of the power imbalance. If (s)he says no, what could the repercussion be?
If you really understood what was inferred you would be terrified, or you do and there is truth in your humor. Being intentionally dismissive or flippant is not cognitively challenging nor particularly original. Thanks for the consideration though.
> including non-human hosts.

I'm inclined to think that infection by a non-human host would be a different virus with different circumstances (SARS-CoV-1 is considered different from SARS-CoV-2).

Unless, you mean that our reaction to the pandemic globally has allowed a bunch of new non-human reservoirs to form.
I think shielding doesn't necessarily mean lack of transparency, if they are a good manager they should be able to provide you context and information about the bigger picture while still protecting your time and representing your interests in meetings with higher ups and peer groups.
The Rust graph is inaccurate since Rust uses FIXME instead of TODO. Almost all of the usage of "TODO" in rustc relates to the todo!() macro, usually to stub out parts of tests.
I don't know that WeWork works. They certainly don't make money. I'm not sure coworking space is a viable business at all. No one seems to have cracked it yet.

I think that good networking events have all the benefits of coworking with none of the drawbacks.

Most coworking spaces just end up being loud offices with not much community interaction anyway. Might as well do work in a true office and then network somewhere nice and social.
This doesn’t work like that, he’s the owner, there is always a power imbalance with any Microsoft employee.
If it's not using my preference for the size of a tab then it's broken.
I’d say you’re almost certainly not swimming the stroke correctly. You can definitely get into the habit of overarching your back and neck to get your head out of the water. I’d get someone who knows what they’re doing to check your stroke.

Switching up stroke is generally a good idea though.
What does the coffee cup icon indicate to the left of P?
The XDG base directory specification and Rust
No one is getting richer in PoS. The currency inflates at the same rate. It's similar to stock split. You get more shares in the same ratio as the value is reduced.

In PoW, energy is used to mine more coins. Thus, total value of the currency grows.

There's a difference between inflation from thin air, and inflation from added energy / work.
New crash tests show modest speed increases can have deadly consequences
In general, I am aligned.

In the specific case of an employee and CEO (or board member), it seems that having a policy against that is reasonable.

We don’t let prisoners and prison guards fraternize. We don’t let military officers fraternize with enlisted soldiers (or NCOs with junior enlisted).

If I lead a team and I’m sleeping with one of them, it’s practically impossible for everyone to feel like they’re being treated equally.
Yeah my doctor says I’m only to have the Pfizer vaccine now.
Did the programming on macOS, build machines were Linux and the customer ran the code on Windows.

Zero Go-related issues during the whole project. Just drop in one executable and one config file and it just works.
If you increase all wages at the same rate then inflation rises (as you don't increase productivity and resource availability accordingly) and you devalue savings. This is not a bad thing overall. It certainly is better than losing a war.
Writing code that does a lot of IO gets very repetetive quick - `if err != nil` is just stupid. Different libraries have different conventions on matching on errors. Then there's the inability to know if an interface pointer is valid. Comments that change the way the code is built. The type system felt like it was forcing me to expose either interfaces that are either too restrictive or too open.
> but I think software engineers are overpaid.

I'm curious why you would think this. In some ways software is a trade, but what makes it unique to nearly any other profession is its multiplicative effect. One software engineer can write a program that improves the productivity of thousands or more people.

What would you pay the person who invented the lever? Now, what you would the pay the person who invents the lever every couple weeks?

If anything, many software engineers are still underpaid.
It can be useful to provide a single installer that works on any system, downloading the machine specific rest of the program.
>For many of us that sounds a bit ominous, but the reality is actually far less alarming.

>"NewNew feels a bit like if TikTok met reality TV hit Big Brother and they had a baby"

There's no chance this isn't exactly as alarming as it sounds is there?
Thanks for the feedback. I agree. I'll put it in my backlog.
The 16-player multiplayer is advertised on the box, but its unclear whether the 16-player Faceball match happened. "Punching Weight" looked into it a while back, apparently some crazy retro nerds managed get a 9-player game running on real hardware quite a while back:

https://www.youtube.com/watch?v=vyK-2LWB734&t=42s
The alleged affair would have occurred while he was still CEO. It's definitely an issue if the CEO is having affairs with employees.
HR is not there for you, but for the well being of the corp.

In the same vein relations between managers and subordinates are not permitted, not to protect the well being of the subordinate, but to protect the well being of the corp.
Could be a possible treatment that would have only temporary effect. So after the treatment is done the things would return to normal, this could be tested for and give you peace of mind.