skysight-inc/HackerNews huggingface dataset:
That's not fair. I mean, yes I don't believe what he had was depression as I know it but he still clearly had a bad time. Maybe he hadn't had experiences that would allow him to put it in perspective but he had it pretty miserable anyway and I feel for anyone going through that.
I'm sorry but that sounds like a distinction only to freeloaders. Know your dependencies, use something like Nix+Nixpkgs to put yourself in charge of the upgrade schedule, and there will be no nasty surprises.
I code for iOS (in ObjC) and Android (in Java) and honestly the language differences are trivial to me. The much harder parts to deal with are the APIs and the IDE differences. (In particular, I really loathe gradle and Android Studio.)
If only a few people are doing this, they could train to detect something like unidentified dynamic object and get a human eye to look at it getting you even more surveillance than otherwise. Similar techniques could be useful in coordination like with Guy Fawkes masks but solo use will likely make things worse not better.
That is the one feature that you shouldn't use.

At $work we use table inheritance - each client gets their own schema with their own copies of the table. The idea is cute, but the problem is that the structure of indexing doesn't cooperate with it. Therefore even the simplest query against a single parent table turns into thousands of index lookups on thousands of different tables. As you can imagine, this is not exactly a scalable situation.

If they fixed the index structure, if need be only for a few index types, it would make a huge difference. But it doesn't sound like that is easy internally or will happen any time soon.
Multi-chip packages are getting more common, with Intel's EMIB and AMD's new EPYC processors. Only portions of the CPU are moving to leading-edge fab processes while things like the memory controller and iGPU are good candidates to stay on proven processes (eg 14nm).
>"TSMC is already doing risk 5nm production and 3nm seems entirely viable."

What is "risk production?" Is this similar to prototyping? I'm not familiar with this term. Thanks
I recommend: https://href.cool/ as a sick (though highly particular) example.
Asking for a friend... how does one get around the paywall without shelling out $1 a week?
Being able to form a useful business isn't nearly as accessible as something like programming, if we get to that point it feels like only the privileged will be going anywhere.
I think you should talk to kicks @ https://kickscondor.com/.
A map of every company that Disney owns
I'm saying that this is not limited to Pepsi. In fact, you are going to find that a lot of companies do this because it is very helpful to their consistency of product.
The thing to be aware of is selection bias. Depression severely effects motivation. If you take depressed people who are routinely doing aerobic exercise, you can be selecting people who are less effected by depression, and thus instead of aerobic exercise being a treatment, it is selecting people with milder depression.
Did we read the same comment? Seems to me they just finished explaining all the ways it's similar to a ponzi scheme.
I hate Audible, with a passion. They have drm, so I can't listen in the app I like, and the prices...Back in secondary I've been listening to audiobooks at the rate of approximately one book a week. I've used polish libraries for the blind which were legal, free and had everything I wanted (almost). I can't even imagine how much money I'd spend if I had to use Audible instead. Actually I wouldn't even be able to, as I'd been listening on a Rockboxed[1] player, not a smartphone.
[1] https://rockbox.org
Lord of the Strings
Is that supposed to be a commonly known fable?
What you probably want is to start your own company in the form of “solo founder”. No boss, no colleagues, just “the problem”.
Also https://en.m.wikipedia.org/wiki/Kleene's_recursion_theorem
To abuse the metaphor, telling the obese to cut calories may not help, but all the same cutting calories is exactly what they need to do to get better.

Anecdotally, when I'm exercising all the crap in my life just fades away to where just putting one foot in front of the other is all that matters. It's not a state of not caring, it's more that it doesn't exist in my head the same way The Game doesn't. It's Zen almost - calming and peaceful.

Less anecdotally, you can rationalize the release of endorphins as an evolutionary trick to get us to do something that while unpleasant used to be very necessary for survival. (Imo, whether this is true or not is not important. Rather it is a rational for productive self-delusion).
Are you accepting bug reports for such issues in tarsnap? :)
Maybe using an ARM dev board boosts acceptance of this book among its target audience, at the moment. But, for open source hardware goals, a RISC-V board, such as the HiFive1, would be good cross-promotion/support.
I'm joking because endless flame wars have already been spent debating this issue. But I realize not everyone has heard them yet, so let's strap on the football shoes and bring out the horse carcass one more time!

There are platforms on which NULL, integer 0 and floating point 0 is not the same. Hence memsetting won't do the right thing. On modern platforms they are, but still, you don't want to get the Standard C Weenies on your back - they're even more annoying than the Rust Evangelism Strike Force. You don't want demons coming out of your nose, do you? :)

They do have a point, though. Suppose you are handling a struct you thought were memsetted but was not (your stupid team mate used those damn initializers!), then when serializing it you will get undefined bytes in the stream, possibly triggering hash values to mismatch causing mysterious rebuilds and other stuff.

Wrt to field accesses, yes those can overwrite padding bytes. Suppose a is an 8 bit char field, but padded to 4 bytes. Then "foo->a = 22" could be translated to "MOV [RSP+16], EAX" which overwrites the 3 padding bytes with undefined values. The solution, as you mention, is to use packed structs but in those field accesses are much less efficient.

Bottom line: code whichever way you want. :) Me, I like to live in the fast lane from time to time and those memset/cpy/cmp functions are sooo handy. :)
I'm hoping we see a big purge of all the cruft that's built up in the software layer over the years because processing power has been expendable.
I'm glad I'm not the only one who feels this way. I used to absolutely love writing Objective C, like totally get into a zone and lose track of time. I've never managed to achieve that same feeling with Swift.
Tiobe compares search engine queries and lists the most popular languages mentioned in its list. So as an example PHP will naturally end up high on the list and Closure will end up low. Because PHP has lots of irregularities to check, and Closure doesn't. So it might be Swift is simply a better language than ObjectiveC?
Wow, didn't even think it was possible to do this.
They should let the next submitter get the karma or change their ranking algo... I was not even awake at the time that I supposedly submitted that link.
Would love to learn Rust and currently debating on a few home applications.

Any ideas from the HN crowd? I'm currently looking at a Pi-based weather station where I would use Rust as the processing server for all the data each day. Nothing fancy, but perhaps a fun way to learn.
https://www.google.com/search?q=how+much+does+it+cost+to+rec...

https://findawayvoices.com/pricing/

> An average audiobook created with Findaway Voices has about 50,000 words and costs between $1,000 and $2,000. We can estimate the cost of your audiobook by multiplying a per finished hour narrator rate with the estimated length of your finished recording. The longer the book, the higher the estimate will be.

Playing with the sliders, they seem to estimate that a 50K-word book will be 200 finished hours. Their narrators charge a $250-$500 rate per finished hour. ("Narrators charge by the length of the delivered audio, not how many hours go into preparing, recording, editing, mastering, proofing, etc.")

Famous actors can cost arbitrarily more, of course.
> They could have earned a lot more on than than than they do from me not clicking on the dumbest ads I know about.

Then they would have - they are a for-profit company.

My assertion that consumers are not willing to pay if they can get something 'free' (ie. with targetted ads) is hardly new or controversial.

How many news sources do you pay for? I pay for my news and take a very keen interest in its quality, but the media outlets have an extremely difficult time convincing enough people to care enough to pay even for their news - the most important thing of all.
https://blog.cloudflare.com/1111-warp-better-vpn/

Cloudflare also built and opensourced a rust implementation of wireguard which will likely back the service [0], but unfortunately, they didn't collaborate with upstream.

[0] https://github.com/cloudflare/boringtun
Okay, can we please get a primer that an intern can follow that starts from an empty Windows 10 install, installs everything including VSCode, flashes the boards with a Segger J-Link, blinks the LED, and single steps the debugger?

I'm serious. I will go buy any board in order to check that tutorial out.

I'll go further. I would buy the Rust folks a couple boards and Seggers to get that.
Infographic: Facebook’s Biggest Acquisitions
That is what stdint is for.
At least the soon to be released ESP32 successor seems to get this, by virtue of adopting a RISC-V core. Kind of a big deal really.
> FAANG

Let's be inclusive and start using FAANGM in an honor of Microsoft
Gluegun: A delightful toolkit for building Node-powered CLIs
I'd be much more afraid of a government cracking down on gossip than a little gossip...
jesus christ how easily people are fooled

robots are only an advanced form of puppet
I know some embedded devs who say Rust is still too slow compared to C.

What do they mean?
You shouldn't be sending structs over the network, since their specific layout depends on the compiler (and version). At least make them packed if you're gonna do undefined behavior...

But you should just do it the right way and have a wrapper that deals with endianness differences and such:

struct S my_struct;
// ...
push_int64(&output_stream, &my_struct.value1);
push_string(&output_stream, my_struct.value2);
push_int32(&output_stream, &my_struct.value3);

And on the receiving side:

struct S my_struct;
next_int64(&input_stream, &my_struct.value1);
next_string(&input_stream, my_struct.value2, sizeof(my_struct.value2));
next_int32(&input_stream, &my_struct.value3);
Actually, I had some code that passed null to free(), and it segfaulted on some old version of Red Hat. (Not RHEL, Red Hat.)
You should mention that you feel you are ready for a promotion as soon as you have that feeling. If you feel that you have been passed over you should ask what made you less qualified for promotion. Eventually you are either being lied to or you are promoted. Unless you have been told that your being white has disqualified you then you have no reason to think that you are simply not the most qualified candidate.

Also, referring to non-white people as “diverse people” is incredibly tone deaf and your lack of ability to address race in a responsible manner may be seen as a liability were you given a more prominent role. That specific phrasing has been dragged through the mud repeatedly. Don’t talk like this: https://m.youtube.com/watch?v=nlXKZHeghcY
I used to do a lot of embedded work and found it really interesting where people draw the line on what is "embedded"

Around 2009ish, I had a coworker who swore anything over 16 bits wasn't embedded. We were working on a MMU-less uClinux ARM7 system with 16mb of RAM and no networking and that didn't meet his criteria for "true embedded".

The next job I had was a piece of customer premises equipment that ran a fairly high powered ARM board with dual gigabit ethernet links and a lot of user space written in PHP. No one on that team questioned that it was an embedded system.

It always seemed like a strange thing to gatekeep on. Personally, I base my definition more on the use case than the power of the machine.
Oh? I think I reviewed a few Linux kernel patches this week that used memsets to fix up messed up aggregate or designated initialization which is the most concise way of initializing the padding.
Not really. Before Uber I’d say ~50% of the drivers I ordered never showed up. Missed tons of flights this way
Why Arivale failed: Inside the closure of a ‘scientific wellness’ startup
Serialization is a non-trivial problem. Especially when dealing with different OS, network stacks, and architectures. protobuf alleviates this quite a bit.
We don't really need sympathy, we get paid a lot and can afford to drown our sorrows.
> If you’re building something and you lift up a rock and find a lot of weird solutions to a problem you’d never really thought through crawling under it, what would you do?

> 1) Ban them immediately, no matter how necessary to parents, as the risk of tracking/stalking of all iPhone users is unacceptable

> 2) Build a safer solution that can’t be harnessed for tracking/stalking, and then ban all solutions that can be used for tracking/stalking

Surely the correct answer, if the solution is really so valuable that it cannot be done without in the time it would take to come up with a safe solution, is

3) tell the programmers of the potentially privacy-violating solutions that they'll be banned once you do (2), then do (2);

or arguably even

4) do (3), and, in the meantime, display a hard-to-ignore dialogue on installation that warns "this app may violate your privacy, and will be automatically uninstalled once Apple's safer solution is available. Do you wish to proceed?"

?
Before online audio books we borrowed then from the library for free.
without the physical boundary

which matters
> Those recordings are just as good as Audible recordings.

No. They are not. I tried listening to Don Quixote Librivox. While a couple of readers are tolerable, several are terrible, and none are close to professional voice actor level. Which makes it really hard to get through. Check out the comments here too if you don't want to subject yourself to listening to the reading itself:

https://www.youtube.com/watch?v=fLTTJo0E1ag

Audible recordings in general are vastly superior.
In the past, requirements for new cars were not retroactively applied to previous year models. Are you saying that is/will be changing?
> It seems like a Ponzi-like startup is not illegal because it's not as deliberately deceptive nor is it schemed by a single party/person, but rather it's more the creation of the entire market and what is really causing the profits/payouts is more up-for-debate.

In a Ponzi scheme, you’re led to believe that profits are from sales, luring new investors to partake by lying.

Uber is losing money but there’s still hype around it because everyone wants to get in on the ground floor. At the end of the day, they’re going to be releasing truthful quarterly reports rather than fabricating numbers out of thin air.

The difference is pretty massive I would say.
I see two possibilities:

1) You and the OP have discovered a trillion dollar bill on the sidewalk just waiting to be picked up.

2) There's value in what the two of you consider "bullshit".
Piping Curl to S(hell)
Researcher transmit data by semiconductor laser aiming for ultra-high-speed WiFi
> performance hit due to lack of alignment

This isn't true of modern processors.
I’ve had two MBPs fail on the keyboard issue. One that I’ve already had repaired is having the issue again. I do like the typing feel on these keyboards, but they should toss this design given the poor reliability. Every single person I know with this laptop has had issues.
If a developer is just fiddling with optional-related operators until the compiler is happy -- in any language, not just Swift, e.g. Kotlin -- instead of actually understanding what they are doing at any fundamental level, that's not a language problem.

I wouldn't want to work with someone like that I doubt anyone else would, either.
Hmm, that concern is not just limited to RDMA; any kind of shared memory communication across a trust boundary is vulnerable to info leaks in the padding of the struct. That does seem like a real issue.

Not sure what's the appropriate mitigation. Having to memset is a drag, and it's easy to forget to do it in some place or another. I'm tempted to say that you should only use packed structs for shared memory communication across trust boundaries.
> If you choose to state something that is demonstratively false

You appear to believe that there is a systematic method in place for people who may or may not decide that they want to run for a political office: I submit that no such system exists--it is truly hit-or-miss, and utterly indiscriminate, or to put it another way; random people run for office and some of them are elected.

I too wish you well... ttyl
It's important to point out why games use immediate mode GUIs:

1. The GUI needs to be overlaid on the game image (OpenGL/DirectX). This is difficult with traditional GUIs like QT.

2. The GUI needs to be updated in sync with the game, again, it's difficult to integrate traditional GUIs event loops into the game loop, especially with stuff like double/triple buffering.

3. The GUI needs to be as fast as possible, games are severely CPU bound.

A retained mode GUI is typically easier to use, convenience is not why people use immediate mode GUIs.

It's worth pointing out that the immediate/retained split doesn't apply only to the GUI - there are retained mode graphical APIs - DirectX used to have one. They are only used in low-demand games, they sacrifice a lot of speed for the convenience of using a retained mode.
You would probably have to communicate in some way with clients if you ever wanted to make any money.
Instead of Audible, I recommend downloading audiobooks for free from your local library.

The San Francisco Public Library uses an app called "Libby." (I think most major US libraries support it.) It's free and convenient. No complaints.
check this out - http://www.admcloud.net/en/ACDN

They have a pool of tickets and developers outbid each other to win work. I think this is what you want. Honestly, I find this type of work to be very depressing.

Team events are there for a reason - to build team bonding and coordination. I'll recommend you to get a coach to help you get accustomed to corporate life. As they say - if you can't fight them, join them.
I dont know, i found it interesting that a lot of people are denying OP's issues. I think it is a kind of stockholm syndrome - people need to justify their current situation and legitimize it in their own eyes. I generally like Ask HN the way it is and i dont find it problematic
This is great, but unfortunately embedded doesnt always = ARM. Does anyone know if it would be possible to target mips32 since LLVM supports it? Is there any effort in rust for other arches? The mplabx + xc32 +harmony toolchain has got pretty darn awful so that would be amazing for the MIPS community
Biologists are trained for many years to know where to look for.

But high school students aren't.
This kind of issue happens all the time with structs that a kernel, driver etc. expose to userspace: https://j00ru.vexillium.org/papers/2018/bochspwn_reloaded.pd...

Not sending the structure over the network is insufficient, and rigorous memset is a clear solution to this problem.

Also, C structure layout for a specific ABI is strictly determined; if that weren’t the case you couldn’t compile two C compilation units with different flags/compilers and expect them to work.
G++ actually says “sorry” when it bails on that.

The other (bigger) pain point is that malloc returns void*, and C++ requires a cast.
> If exercise is making you vomit, I think you're doing it wrong.

Good point. I'm interested in their answer on that.

> [...] and enjoy it?

Fuck me :) That was amusing!

No offence but you really don't get it. Exercise in that state we use as a coping mechanism. I guess he, like me, overdid it hence the vomiting (just a guess though - love to hear the answer).

There is no enjoying it because there's little if anything to enjoy if you're hurting inside. To repeat: exercise is a coping mechanism. It's not 'fun'.
ATmega are a commercial failure, and frankly, outmoded toys. They are not covered because they have no relevance outside of Arduinos.
Zuckerberg plans to build a privacy-focused social platform
In the late 20th century I almost weekly got an audiobook in tape cassette form from my local public library to listen to in my car. As far as I can remember they cost me nothing. They had a room full of the things, so the selection was enormous. I have particular memories of listening to James Lee burke's books read by Mark Hammer. Later in the noughties I joined audible but it wasn't cheap and they had a couple of sharp practices that turned me right off. The first was that you couldn't carry over credits. The second was they made it hard to cancel. Then there was the way they leaned on the audio software guy whose software allowed you to remove the drm, so you could burn to disk in mp3 rather than the only supported way which would have required a bunch of CDs per book. Bottom line for me today is they're too expensive. Being restricted also to one book a month (was two back then) for the same cost as Spotify and Netflix combined is a joke
> A few problems with this GUI style are:

> You have to write lots of code to manage the the creation and destruction of GUI objects. [..]

> The creation and destruction problem leads to slow unresponsive UIs [..]

> You have to marshal your data into and out of the widgets. [..]

My biggest pain point with the retained mode GUIs I worked with was none of the issues mentioned above. It was always the centralized GUI thread and the consequential synchronization complications. I don't know if this is an inherent problem of retained mode GUI frameworks and if there are some that don't force all widgets into a single thread. If not, this alone is a reason to for me to find immediate mode interesting.
For people worried about Audible's dominance here, there's _starting_ to be a countermovement among indie publishers, and I assume big publishers would also support competition.

* Chirp, from Bookbub: https://www.chirpbooks.com

* Authors Direct: https://authors-direct.com (from Findaway Voices, which helps indies produce audiobooks)

* Overdrive and Hoopla are bringing library-purchased audiobooks to people: https://www.overdrive.com https://www.hoopladigital.com

Audible tries to get people locked into multi-year exclusive distribution contracts, and a lot of people go for it given their current hold on the market. Hopefully, demand will start rising for these other distribution channels.
"the problem" being getting people to pay you for something of value, right?

i wouldn't rule out "start your own company" but there needs to be some more clarity and purpose behind it beyond "i hate putting up with BS from other people in corporate jobs". moving towards something defined will be more productive than just moving away from something.
This is really reads like someone trying to sell you something. I've done work on frameworks for both immediate mode and retained mode GUIs. They both absolutely allocate memory behind the scene. There absolutely is state being marshaled around. Caching commonly used state is important. Performance can be bad and great in both. You're really just subscribing to different sets of opinions