skysight-inc/HackerNews huggingface dataset:
I have a hunch, though, that often the problem is not emotional but actually physiological. If a ventilation system works well enough that air is not altogether too stale or humid or high in CO2, but not well enough to ensure the air is properly fresh, you could easily start feeling like there's something off, without being able to pinpoint exactly what's wrong. Most office ventilation systems have very few sensors and don't respond to changes in occupancy, or are otherwise hard to regulate, which can easily lead to air quality that is good-enough-but-not-quite-there and a desire to open a window. I've worked in offices that were stuffy all the time, but also in offices that were pleasant winter and summer, and nobody ever complained that the windows didn't open.
Seems designed to move people from beer to wine and spirits? Or into home brewing?

Probably a thriving market in non-drinkers selling their quotas, too
See https://stackoverflow.com/questions/2098149/what-platforms-h.... As for `sizeof` being an operator, well, C doesn't have generics, so it has no choice but to make `sizeof` somehow special.

If you don't want to bother supporting platforms where byte is not 8-bit (a reasonable choice I would say), use `int8_t`/`uint8_t` instead. Those types won't exist on platforms that don't have 8-bit bytes.
I reduced the wages of everyone I hired after that stupid law was passed.
Don't be so sure. I witnessed a friendly fire incident while at camp anaconda in Iraq way back in 2004.

A staff sergeant was accidentally shot in the leg by a female soldier on the roof who was improperly loading an m240b machine gun behind our position. There were all sorts of things wrong with this picture.

First, we generally never loaded that thing until after people were back inside the wire after the first patrol. Secondly, it wasn't her job to load it. She'd never been trained on it but decided to "take the initiative". Thirdly, the m240b has a real shitty design in that it fires from an "open bolt" position. This means if you for example - smack it hard enough - it can start firing even if you didn't pull the trigger. This is called a bolt override and it's why we don't load the thing when there are people in front of it.

Anyway the Sergeants leg was fucked. He had to be shipped off to Germany and we never saw him again. But that female soldier? They sent her right back out to the line. The whole unit was pissed, but the brass just covered the whole thing up. That was the moment I decided I was done with the military.

If you are curious why I keep mentioning the gender of the soldier, it's not because I have any problem with women in the military or women in combat positions. What I did have a huge problem with at the time was untrained women in combat positions. The military was in the middle of a big diversity push at the time and just started pushing non-combat women into combat roles without any training. We'd just suddenly get a new person on our squad and be expected to trust them. And then when that person fucked up due to a complete lack of training, and shot one of us, we were expected to just treat them as if it never happened and keep working with them - for optics. Dumbest idea ever.
Qatar has "alcohol license" for residents. Not sure about that but what i heard your employer has to say how much you get to drink.

https://www.angloinfo.com/how-to/qatar/lifestyle/food-drink/...

EDIT: yes article mentions this

The letter must be addressed to the Qatar Distribution Company, be stamped and signed by an authorised person within the company, and include the following information:

The applicant's position within their company
The applicant's basic salary. The word 'basic' must be used. To get a permit a minimum salary is needed (4,000 riyals or 1,100 US dollars)
Whether the applicant receives an accommodation entitlement or has free accommodation
Whether the applicant is married
When applying for a permit an individual must fill in an application form, pay a returnable deposit and state their religion
I want to be able to go to the office when I want and I want to be able to work when I want
Where did you get the list of companies from?
> Private individuals resident in Svalbard must purchase their alcohol quota in Svalbard and are not able to import tax-free alcohol from the mainland to Svalbard.

I doubt local shops have particularly good assortment to choose from, do they?
Well, no, pulsars periods drift due to change of alignment and emission process over time. Thought special and general relativity will drive any "global/solar system/galaxy"-wide precise time useless on long term anyway. The best is to keep track of long enough common measures ("day", "month") with decimal/fractions being connected to actual local times.
Free Fundamental Data and Stock API
No, they wouldn’t, until they are about 50 years old .
I have several questions about this:

- can't the enemy home in on radio signals?

- what prevents the enemy from cloning the signals

- what happens when the enemy captures emitters?

- a lot more scary: what happens when the enemy captures detectors?
Agriculture in India – Technologies – Explained – MN Channel
My first job was an ISP I co-founded. Our first dial-up system was a classic 120MHz Pentium w/128MB RAM and 4GB harddrive, that served as the terminal server for 16 phone lines and let users start SLIP/PPP or a shell connection. It was not unusual to have 16 users logged into it at once running applications on it.

It also was our main e-mail server and web server, hosting both our own website and several customer websites. We had a second one of the same specs for a few other things and backups, but that was our main workhorse.

[EDIT: They were running Linux 1.0 and 1.2, first with NCSA httpd, then Apache; when we first got them they ran Slackware, installed from floppies; I think we ended up installing Redhat at some point before we retired them; the modems were hanging off Cyclades serial cards; and they were literally hanging - for our first 16 lines we had US Robotics Sportster modems hanging on the wall. (I'm writing this in the hope someone will tell me to get off their lawn and tell me how they did more with less, btw.) ]
I didn't really have a strategy at the time, I just had time. Like, a lot of time. "It was one of the only games I could get to work with WINE and I had no hobbies because I was a child" amounts of time. Time, an abundance of characters and UESP made it possible. I think UESP has a completion page now, but it didn't when I did, and the one it does have seems to be missing a lot of things.

My experience with Skyrim did lead me to developing strategies for other games, after having less time, but at the time I definitely went about it in one of the longest ways possible.

It's probably time for a replay.
"Free" antivirus software, Windows 10 telemetry, Javascript, WeChat, WhatsApp, Google Chrome, Gmail, Facebook, and countless other software choices are used by millions of people today; that doesn't mean that feeling uncomfortable conforming to the norm is unwarranted.

The millions of people you refer to probably (without realizing) send multipart messages with a plaintext version available. Emails without this are typically spam.
Ask HN: How do you manage the anxiety of losing good job?
Lay offs are common in software industry. I would like to know how do you manage anxitey because of it, specifically when you're looking to raise family.
That's good to hear.

Java/Kotlin also have mutexes- just not as language built-ins (well, it does have
`synchronized`).

They also have a ConcurrentFoo set of collections as well. And actually an ImmutableMap (but I don't see ImmutableList, etc. Why?).

The "problem" is that they're opt-in.

I spent years writing multi-threaded C++. But I've become very spoiled with modern languages that make concurrency safe(r)-by-default, such as Rust, Clojure, and Elixir (I haven't actually used concurrent Haskell).

Honestly, it's not anywhere near as bad as it used to be. The ecosystem(s) have embraced immutability everywhere that it's possible, so you don't have to worry quite as much about accidents.
For editing a file as root in emacs, you can use TRAMP to connect to your same machine as the root user. I think you also have to toggle a read-only mode afterward.
Every time I come across Blockpad I wish I could get my company to provide it. Unfortunately it’s huge group so that won’t happen, but it does look great.

I put my hopes on Python or Julia notebooks now, but it’s not accesible enough for most colleagues.
"1-Meter of Pi" Winning Projects
What is hold still? Relatively to what? Everything moves relatively to each other with a planet, solar system, galaxy, galaxy cluster, supercluster, filament, Universe...
> A tenth of a percent isn’t much motivation.

Depends on the size of the company.
I don't see it as an April fools joke. It's more like a half satirical editorial piece with a clickbaity title. And the last paragraph sums up that it's not meant seriously.
I think quotas work in both directions.... you have to do this many in certain time, or you only get this many in certain time.

Here is the definition....

:a proportional part or share

especially : the share or proportion assigned to each in a division or to each member of a body
How to be a better burglar (2016)
>In general, if your DS's can't explain the model then something has gone horribly wrong.

With modern ML models data scientists can generally explain why the model should work but not exactly how it gives any specific prediction. Explaining how a model with a trillion parameters comes up with an answer is not a trivial task.
First: I don't think you can claim that without also doing some very rigorous statistics. I'm not asking you to, but if you're going to base policy on that statement rather than merely arguing on the internet, you'd need to.

Second: even if you do, you're going to have a hard time controlling for the fact that the police and criminal justice system has a long history of disproportionately enforcing the law against people of color. The base data about who commits crimes, gets convicted, etc. for well over a hundred years is going to reflect this bias.

I'm not claiming to have done my homework here either, same disclaimer applies. I suspect you could find somebody who does study this if you wanted to look.

All of the above assumes we're discussing the US, btw.
Learning *all* VSCode shortcuts evolved my developing habits
Location: Reykjavík, Iceland

Remote: Yes

Willing to relocate: Probably

Technologies: Python, JS, React, C++, Flask, Keras

Résumé/CV: https://hkh515.github.io/online-cv/

Email: hanneskr4@gmail.com

I'm currently finishing my MSc thesis (verification of a sleep spindle detector using EEG data), available for work on June 10th or afterwards. I enjoy most things in software development, but I especially enjoy puzzle related things and math related things, have some experience writing competitive programming problems for the national programming competition of Iceland (you can check them out here: https://iceland.kattis.com/problem-authors/Hannes%20Kristj%C..., unfortunately they are all in Icelandic)
Link to GitHub repo which has more info about the installer: https://github.com/Torxed/archinstall
My company's going to be going with a hybrid model, which is exactly what I want. I hate purely working from home, but I definitely would pretty much every Monday and Friday.
I've absolutely loathed working from my makeshift bedroom office for over a year. I rent a townhouse with multiple roommates, and there simply isn't communal space to accommodate everyone setting up their own personal office.

My perspective is many of my older (and more financially established) peers have spare bedrooms converted to offices, which I imagine makes long term WFH more digestible.

I wonder if WFH/office skews around age, or other criterion. If so, what are the long term social implications of a dual WFH/Office option.
Excel is the worst of the Office tools, but it is hard to beat precisely because it is part of office.

On top of all the other challenges of replacing it, you are probably going to use Word and Powerpoint and maybe even some others and since it is bundled your employer won't save money ditching it.
If I could work from the office without going there, I'd be sold.
Last I checked, tmux binds are all emacs-like until you change your config. I remember the copying stuff suddenly being easy once I toggled the vi-like keys. Maybe you haven't used an unconfigured tmux in a while.
Does LEED Certification Save Energy? Evidence from Federal Buildings
Ask HN: What would you use to start a new HTTP and SSR project with Java today?
Airtable seems more like the spiritual successor to something like ms access.
>> most employees would prefer to be paid without working anywhere full stop.

> This is true but we should ask why?

Huh? The entire concept of working is that you do something you don't want to do in order to get something you do want to have.

It makes no sense to ask "why would you prefer to get the good things without having to do the bad things?"
> Python only has one integer type, which is a signed bigint. Compared to C/C++, this renders moot all discussions about bit widths, signedness, and conversions – one type rules all the code. But the price to pay includes slow execution and inconsistent memory usage.

Well, the beauty of C is that you can have that too, if you wish, and you have many options to choose from.
Yeah, perhaps my life experience just had a lot of the "have to do this many" quotas, and the others were presented to me as limits. TIL.
State in Haskell (1995) [pdf]
same goes for Iceland, only place you can buy alcohol outside of a bar is from a government shop that closes at 18:00.
Do you know of any other place that has quotas on alcohol consumption?
I can understand the sentiment that they’re a net good but our experiences and workflows with Teams is vastly different.

When I use Teams I have to pretty much close every other open app I have; then I use Teams; then I close Teams and go back to work. If I don’t do this my keystrokes lag by about 2 seconds.

My computer isn’t even that old, it’s from 2016.

Personally I think it would be a tragedy for macOS users if Omni went non native but I suspect we’re going to see more native software in the future not less.
Ask HN: After acquisition by Okta, Using Auth0 for a new enterprise projekt?
Would you still use Auth0 in a new enterprise software project, since it got aquired by Okta.

Usually i would go with Auth0, cause of their developer first approach and their better documentation. But the enterprise context it is important that you can rely on the Service that you use.

Since the acquisition, I hesitate to make that decision. What do you guess will happen in the next 1-2 years?

1. Will Okta do as they say, and keep Auth0 around as an alternative Service to their own product?

2. Will they abandon Auth0?

3. Or will they try to fuse their products?
Russian spy ring found in Italy
This ring using old 'pay for documents' spy techniques was found by old investigation techniques.

Some times we are so focused in the 'cyber warfare' that we forget the meeting in parking lots handing over SD cards part of the spy world.
I have to admit: if they didn't go overboard with hand-printed cards and carrier pigeons, I'd believe the article.

As others have mused here and I'll join them: we can use a lot more hand-crafted and "slow" approach. We're chasing our own tails -- ESPECIALLY in programming! -- and progress is nearly non-existent.

I mean, in 2021, people are still debugging multithreaded shared state problems. These should belong to the past -- make it impossible on a hardware level as a start, then the programming languages will adapt in a matter of a few months at the maximum.
Seems to be a premium domain name which is at 215k € for just this one single registration.
India’s Highways Construction Speed
SOF: A pure stack-based and functional programming language
How the world's oldest wooden sculpture is reshaping prehistory
Anyone know the reasoning? I'm assuming its attempting to prevent alcoholism? I know Greenland and Iceland (to a lesser extent) suffer somewhat perhaps due to the light and isolation being contributing factors.
It's not an appeal to artificial authority. It's a very likely root cause and comes with a solution even: get a different data set or adjust your existing data set. Your response rings of No true Scotsman to me since you can argue any analysis is not rigorous enough or doesn't cover all potential issues.

edit: And a statistical analysis isn't some sort of magic data genie. Statistics can give rigorous results because it makes strong assumptions. If those assumptions don't hold then the results aren't rigorous anymore. A trillion parameters model can pull interactions out of your data that almost no statistical analysis of the data would identify ahead of time. So what you need to analyze is the model and try to infer why it's predicting different certain results and then work backwards from there.
Interestingly, XIX century Poland has exactly the "minimum amount consumed" kind of quotas of alcohol... It was legislated by nobles who were producing alcohol from their grain and figured they'd force peasants to but it from them, to periodically extract whatever monetary surplus the peasants (serfs) managed to build up. One of the result was of course rampant alcoholism, since the peasants now owned buckets of vodka and they figured they might as well drink it if they paid for it...
Mobster Al Capone Ran a Soup Kitchen During the Great Depression (2019)
For 100% Renewables, Doe Speeds-Up Storage Policy
> If employees actually owned part of the business like the owners, or to put it another way, there is no employee/employer separation, then it's clear they would want to work since they A) own part of the business and B) have say over the business.

Just label the employee "contractor" and the employer "client", and you end up with the exact same picture: the contractor would like to be paid by the client without doing any work. The client would like to pay nothing while having all the work done. They meet in the middle somewhere.

For subsistence farmers, that might look differently, but mostly it's just an internalized split between wanting the fruits and not wanting the labor.
Smuggling is a thing, though. And transport costs tend to reduce as volume increases, and alcohol is a popular product...
We have asterisks for emphasis , attachments for screenshots, and bulleted lists for a subset of tables. More complex tables and formatting probably work better in an attachment; the message body should be clear, concise, and render correctly in the recipient's mail client. When the body contains complex HTML, there's a good chance it'll render incorrectly in someone else's client.

Allowing fewer features is a feature in itself: when we try to allow everything without thinking about the consequences, we end up with something like the modern Web or Electron apps.
> Nobody needs timekeeping on Mars beside folks at mission centers

Well, these people can use OpenBSD now ;)
This is awesome for discovering music. Just started listening to “Japanese Math Rock” lol
A huge portion of the world runs on excel, it is one of the most stand out pieces in office. There is literally no competition that comes close to the level of functionality that excel has.
1. If your program is chatty, it can be chatty in the same way regardless of where the improperly logged secrets come from; it's still your fault for being coarse and lazy. There's little difference between logging all environment variables(and/or all command line parameters) and logging the whole configuration object.

2. If your child processes shouldn't inherit environment variables, set them properly. The "ghosts of Unix past" have "foreseen the need" for execve(2) and execveat(2), which don't pass anything by "default".
Why would I drive somewhere to play table tennis with coworkers?
Over here some carriers will even sell you a static IPv4 address for your cellular connection. Other than that, packets are packets, this shouldn't be very surprising.
That's the point of April Fool's though... Anything and everything could always be fake. It's a holiday dedicated to reminding people that they have to use their critical thinking and maintain a healthy skepticism (now more than ever, in a world of deep interconnectedness and far more disintermediation in the tools of communication than in previous technological eras).
they can also benefit from unpaid activities like family caregiving

And creating art, and starting new software companies, and volunteering. There are lots of things that are worth doing but that nobody will pay for (or won't pay enough to live on). And people want to do them, but instead get pushed into literally any kind of work -- even work that we'd be better off automating or simply doing without.
wow, it works great and fast! Is it GPT-3?
Shared state is fundamentally hard. I don't think you can make it bullet-proof at the hardware level without sacrificing performance.
I have PTSD to the extent that it affects my employability. I've been fired/laid off plenty. It's the worst part of all my symptoms. If I could maintain employment, I could get therapy. It's tough every time I guess.
Spreadsheets might be the best possible tool and represents an inflection point where any improvements detract from other dimensions. So it’s like the Pareto frontier for software/data projects.

I’ve been waiting years for someone to solve this as there are serious flaws that I’d like fixed.

But all the “improvements” end up breaking other things. For example, airtable seems cool but its cost makes it non-comparable (eg, email a spreadsheet to a million people, a million can “fork” try pricing that with airtable; save a spreadsheet to disk, archive forever, etc).

I think that everyone can program, but few will be professional programmers. And many of the fixes for Excel are assuming that all people who program should act like professional programmers. And this isn’t possible or likely.
GP likely meant the relationship in appearance: the two examples have Cyrillic glyphs closely resemble mirrored outlines of the Latin glyphs.
If you hold shift, you can bypass tmux and copy/paste at the terminal emulator level.
> but you can't just slap Excel in a server.

There was this company I worked for, that realised the customers (insurance biz) had a lot of proficiency in Excel, and basically half of the use case of the biz was converting these spreadsheets into web apps. Of course this a) takes a lot of time and b) isn't very agile in face of spreadsheet updates.

So my idea was to process the spreadsheet as follows:

- list the output cells
- list the input cells
- parse the formulas
- walk from the output cells to the input cells
- use the resulting graph to transpile the spreadsheet

Can you imagine the consequences of the resulting transpiled artifacts. Source control. Diffs. Conformance tests. And more.

So I got it to an Excel+OpenDocument formula parser plus essential standard library, an AST and prototype transpiler into Ruby and Go, ready to bundle in your monolith or run in a lambda.

The thing was shot down because "If we build this, how could we bill our customers big $$$ for non-work? This would drive our gross income down, so we'd put ourselves out of business!".

Right.

And now the IP is owned by that shitty company, which sits on it to extract cash for customers.
Is it really so common to drink alcohol every day?
Are you saying that a given pulsar acts as a giant sky clock? And that because it is far away — for some large value of far — it means that any clock inconsistencies across the solar system can be compensated for?
Yeah, this part threw me off:
> The system would work on a low frequency, 13.5 gigahertz, enabling it to penetrate dust, smoke, rain, bushes, trees, and even walls.

This relatively high freq would be a poor penetrator of anything wouldn't it? And with high power usage to boot. Unless I'm missing something here