skysight-inc/HackerNews huggingface dataset:
Well, they see it more as a core language feature than a cute hack. Kotlin 1.0 was big into DSLs as a competitive advantage, though I don't think it got adopted in the way they hoped and I don't see much talk about it anymore. But the idea was you can make libraries where you can write code like this:

val page = html {
head { title = "Title" }
body {
etc
}
}

It looks like it's a part of the language and naturally integrates with features like code folding, but it's actually all just functions and objects anyone can create.

DSLs have taken off in one area: UI construction. There's TornadoFX for JavaFX, SwiftUI on Apple and JetPack Compose for Android. I've tried both new and old approaches extensively and to be honest I'm not sure this is actually better than using a proper GUI builder, but for small fragments of UI it's pretty neat. Sort of like what JSX does in React but more principled and type safe.
If you can inject such content (as in an arp poisoning or other man in the middle scenario) why wouldn’t you go after the dns requests?
It would increase the branching a bit but not much I think.
Taking your own pieces would be sub-optimal choice in every-case other then avoiding mate (at cost of your material), when sacrifice would lead to mating of your opponent.

Gaining positional advantage at cost of anything other than pawn is probably not worth it. AFAIK in high level play gambits are not true gambits as you get the sacrifice back.
This turned out to be a pretty cool project: It forced me to carefully handle the async nature of react's setState.

I also implemented some cheating protection etc. which was a pretty cool extra challenge.
Try launching a one person it company in the UK you will deemed to be an employee under IR35.

1099 status in the US is almost as sucky
Experimental, but this exists: https://github.com/mrtazz/checkmake
Hi adeltoso,

Well posthook is promising but it lacks of repetitive schedules using cron expressions. While cronhooks enables you to schedule one time or recurring schedules.
There's no direct conversion back. IntelliJ has a decompiler that produces reasonable-ish Java code based on the debug symbols, so you get things like local variable names and obviously method/class names back, but, it's a decompiler, so no code comments. And Kotlin constructs frequently require synthetic Java variables to be created that were implicit in the Kotlin, so you have to clean up the result quite a bit.

However note that Kotlin and Java code can co-exist very closely in the same codebase. In the same way you can incrementally port a Java codebase to Kotlin, so too can you incrementally port Kotlin to Java. There's just no automatic tool for it like there is Java->Kotlin.
There are a lot of companies which make losses at first or otherwise need a fair amount of capital to begin.

Given that, why would employees expect they ought to own the company without buying in as the other partners did?
Doesn't this perspective generalize to monism? I.e. everything is conscious? I don't have a problem with that, but the only way I can consolidate someone's claim that consciousness does not exist is if their experience differs from mine.
Steps to Become a Data Scientist
Terrible clickbaity title that he walks back throughout the entire post - "this is not dogma". There are a couple of valid remedial notes in here (like using files as targets) but the part about changing the default shell and inserting hacks that allow you to use spaces will just baffle anyone else and probably make your Makefiles non-portable (eg macs don't have a recent bash).
I was willing to bet before opening the link that it's about SuperMicro. I would lost the bet ;)
Agreed. A 9 MM rifle vs a 9 MM pistol both semiautomatic the main difference is accuracy and thats due to barrel length. You wont magically get bullets out faster.

I feel like anybody wanting to pass gun laws in congress should take basic firearms courses. It takes a lot for me to be in the range as a newcomer and just shoot. I am convinced the issue isnt guns its the culture / mental state of the person with the gun.

Worse yet you are disarming people who had a better chance against criminals who have access to worse weapons and will likely go for those.
> The biggest problem with forcing everything HTTPS
No it isn't. Https not being 100% bulletproof is unrelated to using it everywhere. And it's lightyears away from its biggest problem.
I would simply collect the helium (e.g. in a net, or tupperware box) and discard that which is not helium or place it carefully back where I found it
4. seems wrong. It would be illegal to repair it on your own for copyright reasons.
How the UK's Home Office reduced its cloud costs by 40%
Looks like your cat pressed a few keys when it jumped up onto your desk.
I ragequit as soon as he said not to use tabs. The article is invalid.
Kotlin Native predates the release of native-image. Also it's actually a slightly different language. Kotlin/Native really wants you to not write shared memory multi-threading. All variables are thread local by default. It has special constructs for interop with C libraries, and uses a sort of reference counting Python-esque memory manager if I recall correctly. You can only use C or other Kotlin/Native libraries.

GraalVM native images are a different matter. It uses the Java memory model and ahead of time compiles all the code to native. The "VM" part is bundled with the binary but it's very small and thin. Really it's just a simple generational GC and a bit of support for reflection over things you said you want to reflect over.

Both produce small binaries that start as fast as C programs do. In fact the GraalVM team have advertised cases where native-image binaries start faster than C programs do.
> ...I was in high school and before buying one it was very stressful knowing there might be emails I really need to respond to asap

that's an interesting anecdote. it was the opposite experience for me. friends and i had yahoo and hotmail emails back then but no one cared about sending emails or replying to them.

yahoo messenger and msn messenger were the reason those were created. i can't recall anyone stressing about it because the person you'd be messaging was with you most of the time...
Bloomberg literally compensates its writers for moving markets. So, the super micro case, this one and many others before these..no surprises here.
I can only see this

Forbidden

You don't have permission to access /time/hacked-days on this server.
Your second point is backward. The Constitution is a compromise between various ideological preferences. If it’s impossible to achieve sufficient consensus to change the bargain by amending the Constitution, that means you can’t change the bargain. You can’t subvert the requirement of a strong consensus for amendment by way of mechanisms (legislation, judicial interpretation) that require lower levels of consensus.
Large data study: Navigator.sendBeacon() is broken
This is indeed your best option, I used to work with satelite down and through phoneline up. To do the uplink through satelite, hardware costs are involved.
Having others will dispassionately forced on you, or me, or them is a strong indicator of an undemocratic society.
I think a lot of engineers make the mistake of thinking that "cost-plus" is the most appropriate way to price a product/service.

Do I care whether Dunkin makes a nickel or $0.75 on the donut they sell me? No. Is it "unfair" for them to have 4x margins on donuts? No.

Relatively few services are sold by the hour. Most spreadsheet mining is done for the value derived, not for the human labor input.
I did not know this, good to hear!
>Pulitzer Prize-winning American historian Joseph Ellis criticized Scalia's Heller decision as political agenda disguised as originalist principles: "If Heller reads like a prolonged exercise in legalistic legerdemain, ... that is because Scalia's preordained outcome forced him to perform three challenging tasks: to show that the words of the Second Amendment do not mean what they say; to ignore the historical conditions his originalist doctrine purportedly required him to emphasize; and to obscure the radical implications of rejecting completely the accumulated wisdom of his predecessors on the court."
Only because there doesn't seem any way to fuck this up right now, doesn't mean there, in fact, isn't. The ongoing pattern is that "at the time it seemed like the right thing to publish", when in fact it's just about spinning the spin. You can't prove how certain the publishers were about their spin at the time of publishing, not even with your suggested solution, that I guess, would only get more journalists fired, and last time I checked there's already plenty of that.

Like how Snopes' fact checker seemed like a good idea, before they started getting things wrong too now and then. I mean, of course, it's not likely there's a holy grail solution and we're stuck in having to evaluate every day anew, which sources we trust and which we don't.

Regarding the part where spinning the spin is at least followed up by corrections and apologies - which few people read, anyway, after the damage is done, but there's NewsGuard, which does fairly technical editorial rating, which i find a very good idea.
There is an xkcd for that: https://www.xkcd.com/435/
> Eventually society will expect every citizen to go to at least college

This is not a personal dig, but you clearly did not brush with the real world. There are a lot of smart people out there that through no fault of their own couldn't go to collage, but there are others that would not get far anywhere...

That's just how the cruel distribution mistress works.
> If you accept grandma's right to be armed, would you rather she use a more or less dangerous gun?

The idea that any gun would have made my grandma more safe is ludicrous to me. Giving my grandmother a gun would have either made her less safe, or way way less safe.

> If people are allowed to have guns, they should be allowed to have any gun and any gun attachment that improves their safety.

She was allowed to have one, but the only attachment that would have improved her safety is no gun.
Here's an article from 2016 that seems to contemporaneously describe the incident at hand:

https://web.archive.org/web/20161123142234/https://www.bloom...

> Vinci SA fell victim to a fake release claiming the French builder had fired its finance chief amid accounting irregularities, prompting the stock to plunge before the company denied the report.

> Bloomberg News was among the few news organizations to report from the false statement.

> “We are a victim of a hoax,” spokesman Paul-Alexis Bouquet said on Tuesday, denying that the Paris-based company had released any statement. Although the company’s website hadn’t been hacked, technically speaking, fake statements had been sent in the company’s name, he said.

> Investors were caught off guard after the publication of a release saying that Vinci had discovered an accounting error and had fired Chief Financial Officer Christian Labeyrie. The shares plunged 18 percent, the most in more than 17 years, before Bouquet said the report was false. Vinci will file a complaint about the incident, the spokesman said.
He is completely right about that, sadly.
No. This isn’t reddit. Take your meme replies and fuck off.
> And you will never again pull your hair out because some editor swapped a tab for four spaces and made Make do insane things.

steps up to you and whispers in your ear

Or you could, you know... use a real text editor.
> "Better" in this case means more entertaining; and specifically, the claim is that with the king in the center, it's not possible to "bunker down" and play a very static, defensive version of chess.

> I do agree that the whole thing about opening book seems a bit overblown to me: obviously getting rid of castling means you have to mostly throw out the current "book"; but surely a new one will be written.

This is my point. I wasn't denigrating the effort to make chess more entertaining. I'm arguing that they haven't made a more entertaining version, they're confusing novelty with entertainment.

I'm really not trying to troll you by suggesting that a more entertaining variant of chess is go. I mean, if we have to stick with the current set of pieces and how they move then I think that Fischer Random (Chess960) or something like it is the obvious improvement to go for. NoCastlingChess to me is a strange route to go down. Of course novelty makes an old form less jaded but that I'm not convinced it's intrinsically more entertaining – if it were shouldn't we ditch boring old chess?
Even worse is the fire causing oxidizer. So much damage all the time!
All that sounds well, but it also has some nasty side effects. Anonymous sources and whistle blowers would not be possible anymore while very much needed.
Commit messages are not titles (2015)
As you already mentioned, there are many pitfalls. I think the biggest one is that the journalism source protection would not work if sources have to be public and all the information available to regulators on demand.
Who do you mean by anyone? I know traders averaging 30% and the best one has done over 100% so far this year, and these are 6 and 7 figure accounts.
Nix won't help you secure your system from untrusted code written by internet script kiddies. It's a build tool and simply isn't designed for such things.
Ask HN: How do I get out of “don't want to do anything” hole?
I had very serious burnout in my last job, and now, many months later, I have finally started in a new job - joined a startup with a great culture and that works in a completely different market.

However, the problem is that I still find it extremely hard to motivate myself to actually work. I know what I should be doing, I know my priorities, I know how to make impact - I just can't push myself enough to actually do these things.
As a result - output of my work is not good enough, and to be honest, I feel like *t.

I keep having this feeling that I am wasting my time, and I would be much better off somewhere else - but at the same time I have crisis of lack of confidence and I am almost afraid that I am just not good enough.

When I try to think about this on a higher level, I see that this started even before my last job and before the burnout - I have these symptoms since the last startup I founded failed several years ago. When I look back at my career - only during my time working on my own startups (I had two) I felt like I am really alive, and that I am doing something meaningful.

For the past several years I only feel alive when I am spending time with family, or when I am reading/coding.

I don't know what to do next... I do want to start a new business, but I just don't seem to have enough energy to do that. Maybe I am just not in the right role, or not in the right team.. But I just feel lost.

I know it is probably not the smartest thing to do - ask for advice on HN, but I will appreciate any advice or suggestions. I want my life to become meaningful again...
Put it in a yellow bin.
Do you remember the Bloomberg article about Big China Chip Hack? About Apple was been refuted, debunked, and ridiculed. See https://appleinsider.com/articles/19/10/04/editorial-a-year-...
Obligatory plug for csvkit which allows you to do that and much more without having to write any code > https://csvkit.readthedocs.io/en/latest/
Artificial Intelligence Risks Losing Trust If It Doesn’t Offer Explanations
Replying to myself. Airbus is a consortium of four countries: France, UK, Germany, Spain – started in the 60's. Basically China/Russia are 50 or 60 years behind!

Here's a recent doc about the most technologically advanced aircraft they've manufactured, the A350: https://www.youtube.com/watch?v=Yutzg2NLwcU “Giant Aircraft: Manufacturing an Airbus A350 | Mega Manufacturing | Free Documentary”
There are a great many people who are far better off taking minimum wage rather than capturing the full benefits of their labor.
Backpacking is the essence of travelling you describe. Just buy a return ticket, some guidebook (not necessary but usually more help than harm), maybe a local phrasebook. Ideally avoid most touristic places or zoom through them quickly.

Living in the moment, many unplanned unique experiences every single day, 2 week vacation feels like a month or two passed by.

I did that in India&Nepal twice, each time 3 months, and I literally forgot about reality back home, it felt like 5 lives before, memory of a distant dream. Submersion was absolute, same for my partner back then. It helped it was 2008 & 2010, we didn't have phones with us.

These days, I can afford to travel in much more luxury but I will always revert to backpacking. It is simply better, more rewarding and intense experience. But sometimes I need to rest after such a vacation :)
For step 9, the media is great at cherry picking the tweets that support their narrative and turning it into a bigger deal than it really is. Seeing 2-3 tweets from people who make the most noise gives you the sense everyone is outraged.
List of websites to post your project or startup
Ok, since we're sharing controversial opinions...

If you're going to rely on a fancy shell anyway, why not just throw make out of the loop altogether? That is, unless you're working on a big project where incremental builds really make a difference. (But IME, with a few exceptions, these are the projects that usually outgrow and abandon make anyway)

You can run cc via shell via make, or you can just run cc via shell. In the latter case, there's one less program (with quirks) to fight with, and more flexibility to do stuff that you can't easily bend make to do.
Lisp languages give every programmer the power to be a language designer.

Unfortunately most people are not meant to be. Most devs are not even very good at coding, and hence PR reviews, style guidelines, design recommendations, linters, etc.

Humans are very flawed creatures.

Now add to that:

- if a feature exists, it will be used.

- at work, you don't have unlimited resources, you have constraints, and you will take shortcuts.

And now you have a good picture of why, yes, lack of expressiveness is a something that you might want.
Humans are fucking difficult. It doesn't mean you cannot help folks and provide mental and physical health services. You'll probably get better because you have trained people that have dealt with addicts before instead of the average homeless shelter employee/volunteer that has little to no education to back them up - merely a will to help others.

And no, it won't be perfect. It rarely is. But it is a much better start than the shitholes we call homeless shelters now. Stop treating folks like animals, even if you look down on their lives.
true but the only way to get there is to force http into oblivion. right now people think:

http: insecure and https: secure

probably only when http ceases to exist can we start differentiating between trustworthy and untrustworty.

how we actually do that is something we still need to figure out.

for now we have a check against sites that are known to distribute malware. maybe we need to somehow track which sites are known to be trustworthy.

different factors can go into that. their privacy statement, past incidents and their response. etc...
This. Calendars, TODO lists, reminders, alarms.

These things free up my mind so I can focus on other things instead of worrying about what I should be doing right now because I don't have it written anywhere.
Endless resources here https://github.com/neomatrix369/awesome-graal and here https://www.graalvm.org/community/publications/.
I learned about hybrid camels from the work of Dr. Richard Bulliet, particularly this lecture:

https://youtu.be/ublh9JkbeuM?t=2350

I linked to the start of the section where he begins discussing the migration of the Turks into Iran (39:10). Discussion about hybrid camels is from around 45:26 onwards.

Amazon link to his book: Cotton, Climate, Camels.

https://www.amazon.com/Cotton-Climate-Camels-Early-Islamic-d...

Here is the entire playlist of his 46 lectures on World History, of which the first link is lecture 13. His lectures are not just him retelling the material in the textbook, but rather gives criticism about how the textbook was constructed (He is the lead editor), and stories from his own research:

https://www.youtube.com/playlist?list=PLXxM47ZxXvkaODXkQBO5R...
Okay ...

I'll qualify that. The system has created vast inequalities of wealth, monopolisation by corporate structures that are too large to fail and helped to create and sustain a climate emergency that will change the face of life on the planet irreparably.
Show HN: A field guide for new freelancers
I am running Services in a Container like style with SystemD
> list of sources of information and original research conducted

This is something that is ostensibly already in a typical article. Or are you suggesting that the reporter list everything that was researched, and every one who was talked to, regardless if it made it into the published version of the article?
i usually select all the text in these cases. it's becoming annoyingly common
Well-respected publications have internal checks and balances that do all these things for investigative stories already. You seem not to know enough about how the journalism industry has solved these issues to make a proposal.

The system does work fairly well. Screw-ups of investigations and scoops are big news because they're rare among serious journalistic outfits.

No individual journalist wants to be known for getting a story wrong, so incentives are pretty strong to begin with.
Clever marketing term btw: what’s old is new.

‘Cellular architecture’ is how anyone not going down during their prior outages was doing it for over a decade, just not cleverly branded.

Good links, showing base ideas getting published half a decade ago. I’ve seen use for at least 15 - 20 years, pre-dating ec2 and AWS.
Ah there it is - the guy that gets pissed when he can’t spend other people’s money on pet projects.
That feature was removed a long time ago.
<Travellers on their way from Canada into the United States should be aware that these changes, ostensibly enacted to increase the efficiency of travel and trade across the boundary, give U.S. officials dangerously extended power in Customs preclearance areas on Canadian ground.

U.S. officials can now carry sidearms in these preclearance zones, conduct strip searches, record and keep passenger information, and detain Canadian citizens.

Even if a Canadian official is "unwilling" to conduct a search or has deemed a detainment unnecessary, a U.S. official can override that call. In other words, Canadian law enforcement can now be countermanded within Canada by Americans.

This new authority also allows U.S. border guards to deny Canadians their right of withdrawal.

Before the amendment to the law was enacted, if a person felt at all uncomfortable in the course of preclearance questioning she could simply leave, retracting her intention to cross the border with no penalty.

Now, as a result of amendments, the guard is entitled to detain her if he finds "reasonable grounds" to do so. And the request to leave in itself could be construed as reasonable grounds.>
It seems like that would make it extremely to keep journalistic integrity while working under such a compensation / commission structure.

How are you supposed to trust a Bloomberg article when the writers are designing them specifically in a way to try and purposely move the market? They would have every incentive to exaggerate, embellish, and even go so far as lie as shown in this instance.
If they do have multiple email addresses associated with one account, and they don't want to send a password reset to all of them, then you can see how it would happen.

```
if evil_email not in good_email_addresses:
# Hackers!
else:
# just reset with provided email. If I thought there was a potential security issue I would have already addressed it.
```

So easy to be lazy at this point, especially under time pressure.